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
);
2480 #include <wx/quantize.h>
2482 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2483 return wxQuantize::Quantize(src
, dest
,
2486 NULL
, // eightBitData
2489 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2490 if (PyCallable_Check(func
)) {
2491 self
->Connect(id
, lastId
, eventType
,
2492 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2493 new wxPyCallback(func
));
2495 else if (func
== Py_None
) {
2496 self
->Disconnect(id
, lastId
, eventType
,
2497 (wxObjectEventFunction
)
2498 &wxPyCallback::EventThunker
);
2502 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2505 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2506 return self
->Disconnect(id
, lastId
, eventType
,
2507 (wxObjectEventFunction
)
2508 &wxPyCallback::EventThunker
);
2510 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2511 if (_self
&& _self
!= Py_None
) {
2512 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2515 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2517 self
->SetClientObject(NULL
); // This will delete it too
2522 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2524 return self
->GetUnicodeKey();
2530 #if UINT_MAX < LONG_MAX
2531 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2532 #define SWIG_From_unsigned_SS_int SWIG_From_long
2535 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2536 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2541 #if UINT_MAX != ULONG_MAX
2543 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2545 const char* errmsg
= val
? "unsigned int" : (char*)0;
2547 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2548 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2549 if (val
) *val
= (unsigned int)(v
);
2556 SWIG_type_error(errmsg
, obj
);
2561 SWIGINTERNSHORT
unsigned int
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2569 SWIGINTERNSHORT
unsigned int
2570 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2573 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2575 this is needed to make valgrind/purify happier.
2577 memset((void*)&v
, 0, sizeof(unsigned int));
2584 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2586 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2589 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2590 self
->m_size
= size
;
2592 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2593 int count
= self
->GetNumberOfFiles();
2594 wxString
* files
= self
->GetFiles();
2595 PyObject
* list
= PyList_New(count
);
2598 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2602 for (int i
=0; i
<count
; i
++) {
2603 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2609 static wxPyApp
*new_wxPyApp(){
2610 wxPythonApp
= new wxPyApp();
2614 void wxApp_CleanUp() {
2619 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2623 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2625 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2630 SWIG_type_error("char *", obj
);
2636 SWIGINTERN PyObject
*
2637 SWIG_FromCharPtr(const char* cptr
)
2640 size_t size
= strlen(cptr
);
2641 if (size
> INT_MAX
) {
2642 return SWIG_NewPointerObj((char*)(cptr
),
2643 SWIG_TypeQuery("char *"), 0);
2646 return PyString_FromStringAndSize(cptr
, size
);
2648 return PyString_FromString(cptr
);
2659 // A dummy class that raises an exception if used...
2663 wxEventLoop() { wxPyRaiseNotImplemented(); }
2664 int Run() { return 0; }
2665 void Exit(int rc
= 0) {}
2666 bool Pending() const { return false; }
2667 bool Dispatch() { return false; }
2668 bool IsRunning() const { return false; }
2669 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2670 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2675 #include <wx/evtloop.h>
2681 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2682 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2683 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2684 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2685 wxWindowList
& list
= self
->GetChildren();
2686 return wxPy_ConvertList(&list
);
2688 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2690 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2695 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2702 static long wxWindow_GetHandle(wxWindow
*self
){
2703 return wxPyGetWinHandle(self
);
2705 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2706 self
->AssociateHandle((WXWidget
)handle
);
2709 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2710 return wxWindow::FindWindowById(id
, parent
);
2713 wxWindow
* wxFindWindowByName( const wxString
& name
,
2714 const wxWindow
*parent
= NULL
) {
2715 return wxWindow::FindWindowByName(name
, parent
);
2718 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2719 const wxWindow
*parent
= NULL
) {
2720 return wxWindow::FindWindowByLabel(label
, parent
);
2725 #include <wx/msw/private.h> // to get wxGetWindowId
2729 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2731 WXHWND hWnd
= (WXHWND
)_hWnd
;
2732 long id
= wxGetWindowId(hWnd
);
2733 wxWindow
* win
= new wxWindow
;
2734 parent
->AddChild(win
);
2735 win
->SetEventHandler(win
);
2738 win
->SubclassWin(hWnd
);
2739 win
->AdoptAttributesFromHWND();
2740 win
->SetupColours();
2743 wxPyRaiseNotImplemented();
2749 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2750 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2751 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2753 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2755 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2756 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2757 wxMenuItemList
& list
= self
->GetMenuItems();
2758 return wxPy_ConvertList(&list
);
2760 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2761 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2763 wxPyClientData
* data
= new wxPyClientData(clientData
);
2764 return self
->Append(item
, data
);
2766 return self
->Append(item
);
2768 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2770 wxPyClientData
* data
= new wxPyClientData(clientData
);
2771 return self
->Insert(item
, pos
, data
);
2773 return self
->Insert(item
, pos
);
2775 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2776 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2778 Py_INCREF(data
->m_obj
);
2785 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2786 wxPyClientData
* data
= new wxPyClientData(clientData
);
2787 self
->SetClientObject(n
, data
);
2791 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2792 wxPyUserData
* data
= NULL
;
2794 bool blocked
= wxPyBeginBlockThreads();
2795 data
= new wxPyUserData(userData
);
2796 wxPyEndBlockThreads(blocked
);
2798 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2800 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2801 wxPyUserData
* data
= NULL
;
2803 bool blocked
= wxPyBeginBlockThreads();
2804 data
= new wxPyUserData(userData
);
2805 wxPyEndBlockThreads(blocked
);
2807 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2809 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2810 wxPyUserData
* data
= NULL
;
2812 bool blocked
= wxPyBeginBlockThreads();
2813 data
= new wxPyUserData(userData
);
2814 wxPyEndBlockThreads(blocked
);
2816 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2821 SWIG_CheckDoubleInRange(double value
, double min_value
,
2822 double max_value
, const char* errmsg
)
2824 if (value
< min_value
) {
2826 PyErr_Format(PyExc_OverflowError
,
2827 "value %g is less than %s minimum %g",
2828 value
, errmsg
, min_value
);
2831 } else if (value
> max_value
) {
2833 PyErr_Format(PyExc_OverflowError
,
2834 "value %g is greater than %s maximum %g",
2835 value
, errmsg
, max_value
);
2844 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2846 const char* errmsg
= val
? "float" : (char*)0;
2848 if (SWIG_AsVal_double(obj
, &v
)) {
2849 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2850 if (val
) *val
= (float)(v
);
2859 SWIG_type_error(errmsg
, obj
);
2865 SWIGINTERNSHORT
float
2866 SWIG_As_float(PyObject
* obj
)
2869 if (!SWIG_AsVal_float(obj
, &v
)) {
2871 this is needed to make valgrind/purify happier.
2873 memset((void*)&v
, 0, sizeof(float));
2880 SWIG_Check_float(PyObject
* obj
)
2882 return SWIG_AsVal_float(obj
, (float*)0);
2886 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2887 #define SWIG_From_float PyFloat_FromDouble
2890 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2891 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2893 Py_INCREF(data
->m_obj
);
2901 // Figure out the type of the sizer item
2903 struct wxPySizerItemInfo
{
2905 : window(NULL
), sizer(NULL
), gotSize(false),
2906 size(wxDefaultSize
), gotPos(false), pos(-1)
2917 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2919 wxPySizerItemInfo info
;
2921 wxSize
* sizePtr
= &size
;
2923 // Find out what the type of the item is
2925 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2930 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2934 // try wxSize or (w,h)
2935 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2936 info
.size
= *sizePtr
;
2937 info
.gotSize
= true;
2941 if (checkIdx
&& PyInt_Check(item
)) {
2942 info
.pos
= PyInt_AsLong(item
);
2948 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2949 // no expected type, figure out what kind of error message to generate
2950 if ( !checkSize
&& !checkIdx
)
2951 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2952 else if ( checkSize
&& !checkIdx
)
2953 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2954 else if ( !checkSize
&& checkIdx
)
2955 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2957 // can this one happen?
2958 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2964 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2965 if (!self
->GetClientObject())
2966 self
->SetClientObject(new wxPyOORClientData(_self
));
2968 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2970 wxPyUserData
* data
= NULL
;
2971 bool blocked
= wxPyBeginBlockThreads();
2972 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2973 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2974 data
= new wxPyUserData(userData
);
2975 wxPyEndBlockThreads(blocked
);
2977 // Now call the real Add method if a valid item type was found
2979 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2980 else if ( info
.sizer
)
2981 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2982 else if (info
.gotSize
)
2983 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2984 proportion
, flag
, border
, data
);
2988 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2990 wxPyUserData
* data
= NULL
;
2991 bool blocked
= wxPyBeginBlockThreads();
2992 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2993 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2994 data
= new wxPyUserData(userData
);
2995 wxPyEndBlockThreads(blocked
);
2997 // Now call the real Insert method if a valid item type was found
2999 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3000 else if ( info
.sizer
)
3001 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3002 else if (info
.gotSize
)
3003 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3004 proportion
, flag
, border
, data
);
3008 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3010 wxPyUserData
* data
= NULL
;
3011 bool blocked
= wxPyBeginBlockThreads();
3012 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3013 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3014 data
= new wxPyUserData(userData
);
3015 wxPyEndBlockThreads(blocked
);
3017 // Now call the real Prepend method if a valid item type was found
3019 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3020 else if ( info
.sizer
)
3021 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3022 else if (info
.gotSize
)
3023 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3024 proportion
, flag
, border
, data
);
3028 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3029 bool blocked
= wxPyBeginBlockThreads();
3030 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3031 wxPyEndBlockThreads(blocked
);
3033 return self
->Remove(info
.window
);
3034 else if ( info
.sizer
)
3035 return self
->Remove(info
.sizer
);
3036 else if ( info
.gotPos
)
3037 return self
->Remove(info
.pos
);
3041 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3042 bool blocked
= wxPyBeginBlockThreads();
3043 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3044 wxPyEndBlockThreads(blocked
);
3046 return self
->Detach(info
.window
);
3047 else if ( info
.sizer
)
3048 return self
->Detach(info
.sizer
);
3049 else if ( info
.gotPos
)
3050 return self
->Detach(info
.pos
);
3054 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3055 bool blocked
= wxPyBeginBlockThreads();
3056 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3057 wxPyEndBlockThreads(blocked
);
3059 return self
->GetItem(info
.window
);
3060 else if ( info
.sizer
)
3061 return self
->GetItem(info
.sizer
);
3062 else if ( info
.gotPos
)
3063 return self
->GetItem(info
.pos
);
3067 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3068 bool blocked
= wxPyBeginBlockThreads();
3069 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3070 wxPyEndBlockThreads(blocked
);
3072 self
->SetItemMinSize(info
.window
, size
);
3073 else if ( info
.sizer
)
3074 self
->SetItemMinSize(info
.sizer
, size
);
3075 else if ( info
.gotPos
)
3076 self
->SetItemMinSize(info
.pos
, size
);
3078 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3079 wxSizerItemList
& list
= self
->GetChildren();
3080 return wxPy_ConvertList(&list
);
3082 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3083 bool blocked
= wxPyBeginBlockThreads();
3084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3085 wxPyEndBlockThreads(blocked
);
3087 return self
->Show(info
.window
, show
, recursive
);
3088 else if ( info
.sizer
)
3089 return self
->Show(info
.sizer
, show
, recursive
);
3090 else if ( info
.gotPos
)
3091 return self
->Show(info
.pos
, show
);
3095 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3096 bool blocked
= wxPyBeginBlockThreads();
3097 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3098 wxPyEndBlockThreads(blocked
);
3100 return self
->IsShown(info
.window
);
3101 else if ( info
.sizer
)
3102 return self
->IsShown(info
.sizer
);
3103 else if ( info
.gotPos
)
3104 return self
->IsShown(info
.pos
);
3110 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3111 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3112 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3117 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3119 if (source
== Py_None
) {
3120 **obj
= wxGBPosition(-1,-1);
3123 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3126 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3128 if (source
== Py_None
) {
3129 **obj
= wxGBSpan(-1,-1);
3132 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3136 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3140 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3141 bool blocked
= wxPyBeginBlockThreads();
3142 PyObject
* tup
= PyTuple_New(2);
3143 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3144 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3145 wxPyEndBlockThreads(blocked
);
3148 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3149 self
->SetRowspan(rowspan
);
3150 self
->SetColspan(colspan
);
3152 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3153 bool blocked
= wxPyBeginBlockThreads();
3154 PyObject
* tup
= PyTuple_New(2);
3155 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3156 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3157 wxPyEndBlockThreads(blocked
);
3160 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3161 wxPyUserData
* data
= NULL
;
3163 bool blocked
= wxPyBeginBlockThreads();
3164 data
= new wxPyUserData(userData
);
3165 wxPyEndBlockThreads(blocked
);
3167 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3169 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3170 wxPyUserData
* data
= NULL
;
3172 bool blocked
= wxPyBeginBlockThreads();
3173 data
= new wxPyUserData(userData
);
3174 wxPyEndBlockThreads(blocked
);
3176 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3178 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3179 wxPyUserData
* data
= NULL
;
3181 bool blocked
= wxPyBeginBlockThreads();
3182 data
= new wxPyUserData(userData
);
3183 wxPyEndBlockThreads(blocked
);
3185 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3187 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3189 self
->GetEndPos(row
, col
);
3190 return wxGBPosition(row
, col
);
3192 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3194 wxPyUserData
* data
= NULL
;
3195 bool blocked
= wxPyBeginBlockThreads();
3196 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3197 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3198 data
= new wxPyUserData(userData
);
3199 wxPyEndBlockThreads(blocked
);
3201 // Now call the real Add method if a valid item type was found
3203 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3204 else if ( info
.sizer
)
3205 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3206 else if (info
.gotSize
)
3207 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3208 pos
, span
, flag
, border
, data
);
3216 static int _wrap_EmptyString_set(PyObject
*) {
3217 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3222 static PyObject
*_wrap_EmptyString_get(void) {
3227 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3229 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3236 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxObject
*arg1
= (wxObject
*) 0 ;
3240 PyObject
* obj0
= 0 ;
3242 (char *) "self", NULL
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3247 if (SWIG_arg_fail(1)) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 result
= wxObject_GetClassName(arg1
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3268 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxObject
*arg1
= (wxObject
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "self", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 wxObject_Destroy(arg1
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 Py_INCREF(Py_None
); resultobj
= Py_None
;
3293 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3296 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3298 return Py_BuildValue((char *)"");
3300 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxSize
*arg1
= (wxSize
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "x", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail
;
3314 arg2
= (int)(SWIG_As_int(obj1
));
3315 if (SWIG_arg_fail(2)) SWIG_fail
;
3317 if (arg1
) (arg1
)->x
= arg2
;
3319 Py_INCREF(Py_None
); resultobj
= Py_None
;
3326 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxSize
*arg1
= (wxSize
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3332 (char *) "self", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail
;
3338 result
= (int) ((arg1
)->x
);
3341 resultobj
= SWIG_From_int((int)(result
));
3349 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxSize
*arg1
= (wxSize
*) 0 ;
3353 PyObject
* obj0
= 0 ;
3354 PyObject
* obj1
= 0 ;
3356 (char *) "self",(char *) "y", NULL
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3361 if (SWIG_arg_fail(1)) SWIG_fail
;
3363 arg2
= (int)(SWIG_As_int(obj1
));
3364 if (SWIG_arg_fail(2)) SWIG_fail
;
3366 if (arg1
) (arg1
)->y
= arg2
;
3368 Py_INCREF(Py_None
); resultobj
= Py_None
;
3375 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxSize
*arg1
= (wxSize
*) 0 ;
3379 PyObject
* obj0
= 0 ;
3381 (char *) "self", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail
;
3387 result
= (int) ((arg1
)->y
);
3390 resultobj
= SWIG_From_int((int)(result
));
3398 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 int arg1
= (int) 0 ;
3401 int arg2
= (int) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "w",(char *) "h", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3412 arg1
= (int)(SWIG_As_int(obj0
));
3413 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 arg2
= (int)(SWIG_As_int(obj1
));
3419 if (SWIG_arg_fail(2)) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3436 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
;
3438 wxSize
*arg1
= (wxSize
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "self", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxSize
*arg1
= (wxSize
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3468 PyObject
* obj1
= 0 ;
3470 (char *) "self",(char *) "sz", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3475 if (SWIG_arg_fail(1)) SWIG_fail
;
3478 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3496 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxSize
*arg1
= (wxSize
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3505 (char *) "self",(char *) "sz", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxSize
*arg1
= (wxSize
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3540 (char *) "self",(char *) "sz", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3545 if (SWIG_arg_fail(1)) SWIG_fail
;
3548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3559 resultptr
= new wxSize((wxSize
&)(result
));
3560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3568 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxSize
*arg1
= (wxSize
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3577 (char *) "self",(char *) "sz", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3585 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3596 resultptr
= new wxSize((wxSize
&)(result
));
3597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3605 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxSize
*arg1
= (wxSize
*) 0 ;
3610 PyObject
* obj0
= 0 ;
3611 PyObject
* obj1
= 0 ;
3613 (char *) "self",(char *) "sz", NULL
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3618 if (SWIG_arg_fail(1)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 (arg1
)->IncTo((wxSize
const &)*arg2
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3630 Py_INCREF(Py_None
); resultobj
= Py_None
;
3637 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxSize
*arg1
= (wxSize
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 (char *) "self",(char *) "sz", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3650 if (SWIG_arg_fail(1)) SWIG_fail
;
3653 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 (arg1
)->DecTo((wxSize
const &)*arg2
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 Py_INCREF(Py_None
); resultobj
= Py_None
;
3669 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxSize
*arg1
= (wxSize
*) 0 ;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3676 PyObject
* obj2
= 0 ;
3678 (char *) "self",(char *) "w",(char *) "h", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail
;
3685 arg2
= (int)(SWIG_As_int(obj1
));
3686 if (SWIG_arg_fail(2)) SWIG_fail
;
3689 arg3
= (int)(SWIG_As_int(obj2
));
3690 if (SWIG_arg_fail(3)) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->Set(arg2
,arg3
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxSize
*arg1
= (wxSize
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "w", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 arg2
= (int)(SWIG_As_int(obj1
));
3721 if (SWIG_arg_fail(2)) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->SetWidth(arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxSize
*arg1
= (wxSize
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3742 PyObject
* obj1
= 0 ;
3744 (char *) "self",(char *) "h", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3749 if (SWIG_arg_fail(1)) SWIG_fail
;
3751 arg2
= (int)(SWIG_As_int(obj1
));
3752 if (SWIG_arg_fail(2)) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 (arg1
)->SetHeight(arg2
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 Py_INCREF(Py_None
); resultobj
= Py_None
;
3768 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxSize
*arg1
= (wxSize
*) 0 ;
3772 PyObject
* obj0
= 0 ;
3774 (char *) "self", NULL
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3779 if (SWIG_arg_fail(1)) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3788 resultobj
= SWIG_From_int((int)(result
));
3796 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxSize
*arg1
= (wxSize
*) 0 ;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "self", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_int((int)(result
));
3824 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxSize
*arg1
= (wxSize
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "self", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3835 if (SWIG_arg_fail(1)) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3852 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxSize
*arg1
= (wxSize
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3858 PyObject
* obj1
= 0 ;
3860 (char *) "self",(char *) "size", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3865 if (SWIG_arg_fail(1)) SWIG_fail
;
3868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3877 Py_INCREF(Py_None
); resultobj
= Py_None
;
3884 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3886 wxSize
*arg1
= (wxSize
*) 0 ;
3888 PyObject
* obj0
= 0 ;
3890 (char *) "self", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3895 if (SWIG_arg_fail(1)) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (PyObject
*)wxSize_Get(arg1
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3910 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3913 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3915 return Py_BuildValue((char *)"");
3917 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3924 (char *) "self",(char *) "x", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3929 if (SWIG_arg_fail(1)) SWIG_fail
;
3931 arg2
= (double)(SWIG_As_double(obj1
));
3932 if (SWIG_arg_fail(2)) SWIG_fail
;
3934 if (arg1
) (arg1
)->x
= arg2
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "self", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail
;
3955 result
= (double) ((arg1
)->x
);
3958 resultobj
= SWIG_From_double((double)(result
));
3966 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "y", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3978 if (SWIG_arg_fail(1)) SWIG_fail
;
3980 arg2
= (double)(SWIG_As_double(obj1
));
3981 if (SWIG_arg_fail(2)) SWIG_fail
;
3983 if (arg1
) (arg1
)->y
= arg2
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "self", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4003 if (SWIG_arg_fail(1)) SWIG_fail
;
4004 result
= (double) ((arg1
)->y
);
4007 resultobj
= SWIG_From_double((double)(result
));
4015 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 double arg1
= (double) 0.0 ;
4018 double arg2
= (double) 0.0 ;
4019 wxRealPoint
*result
;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4023 (char *) "x",(char *) "y", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4029 arg1
= (double)(SWIG_As_double(obj0
));
4030 if (SWIG_arg_fail(1)) SWIG_fail
;
4035 arg2
= (double)(SWIG_As_double(obj1
));
4036 if (SWIG_arg_fail(2)) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4053 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "self", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4063 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4081 wxRealPoint
*arg2
= 0 ;
4084 PyObject
* obj0
= 0 ;
4085 PyObject
* obj1
= 0 ;
4087 (char *) "self",(char *) "pt", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4092 if (SWIG_arg_fail(1)) SWIG_fail
;
4095 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4113 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4116 wxRealPoint
*arg2
= 0 ;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4122 (char *) "self",(char *) "pt", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4127 if (SWIG_arg_fail(1)) SWIG_fail
;
4130 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4148 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4151 wxRealPoint
*arg2
= 0 ;
4154 PyObject
* obj0
= 0 ;
4155 PyObject
* obj1
= 0 ;
4157 (char *) "self",(char *) "pt", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4162 if (SWIG_arg_fail(1)) SWIG_fail
;
4165 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 wxRealPoint
* resultptr
;
4176 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4185 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4188 wxRealPoint
*arg2
= 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "pt", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4199 if (SWIG_arg_fail(1)) SWIG_fail
;
4202 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4212 wxRealPoint
* resultptr
;
4213 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4222 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4229 PyObject
* obj2
= 0 ;
4231 (char *) "self",(char *) "x",(char *) "y", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4236 if (SWIG_arg_fail(1)) SWIG_fail
;
4238 arg2
= (double)(SWIG_As_double(obj1
));
4239 if (SWIG_arg_fail(2)) SWIG_fail
;
4242 arg3
= (double)(SWIG_As_double(obj2
));
4243 if (SWIG_arg_fail(3)) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 wxRealPoint_Set(arg1
,arg2
,arg3
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 Py_INCREF(Py_None
); resultobj
= Py_None
;
4259 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4263 PyObject
* obj0
= 0 ;
4265 (char *) "self", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4270 if (SWIG_arg_fail(1)) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4285 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4288 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4290 return Py_BuildValue((char *)"");
4292 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxPoint
*arg1
= (wxPoint
*) 0 ;
4296 PyObject
* obj0
= 0 ;
4297 PyObject
* obj1
= 0 ;
4299 (char *) "self",(char *) "x", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4304 if (SWIG_arg_fail(1)) SWIG_fail
;
4306 arg2
= (int)(SWIG_As_int(obj1
));
4307 if (SWIG_arg_fail(2)) SWIG_fail
;
4309 if (arg1
) (arg1
)->x
= arg2
;
4311 Py_INCREF(Py_None
); resultobj
= Py_None
;
4318 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxPoint
*arg1
= (wxPoint
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4324 (char *) "self", NULL
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4329 if (SWIG_arg_fail(1)) SWIG_fail
;
4330 result
= (int) ((arg1
)->x
);
4333 resultobj
= SWIG_From_int((int)(result
));
4341 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxPoint
*arg1
= (wxPoint
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4348 (char *) "self",(char *) "y", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4353 if (SWIG_arg_fail(1)) SWIG_fail
;
4355 arg2
= (int)(SWIG_As_int(obj1
));
4356 if (SWIG_arg_fail(2)) SWIG_fail
;
4358 if (arg1
) (arg1
)->y
= arg2
;
4360 Py_INCREF(Py_None
); resultobj
= Py_None
;
4367 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxPoint
*arg1
= (wxPoint
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4373 (char *) "self", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4378 if (SWIG_arg_fail(1)) SWIG_fail
;
4379 result
= (int) ((arg1
)->y
);
4382 resultobj
= SWIG_From_int((int)(result
));
4390 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 int arg1
= (int) 0 ;
4393 int arg2
= (int) 0 ;
4395 PyObject
* obj0
= 0 ;
4396 PyObject
* obj1
= 0 ;
4398 (char *) "x",(char *) "y", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4404 arg1
= (int)(SWIG_As_int(obj0
));
4405 if (SWIG_arg_fail(1)) SWIG_fail
;
4410 arg2
= (int)(SWIG_As_int(obj1
));
4411 if (SWIG_arg_fail(2)) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4428 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxPoint
*arg1
= (wxPoint
*) 0 ;
4431 PyObject
* obj0
= 0 ;
4433 (char *) "self", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4438 if (SWIG_arg_fail(1)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 Py_INCREF(Py_None
); resultobj
= Py_None
;
4453 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxPoint
*arg1
= (wxPoint
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4462 (char *) "self",(char *) "pt", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4467 if (SWIG_arg_fail(1)) SWIG_fail
;
4470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4488 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxPoint
*arg1
= (wxPoint
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "pt", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4502 if (SWIG_arg_fail(1)) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxPoint
*arg1
= (wxPoint
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4532 (char *) "self",(char *) "pt", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4537 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 wxPoint
* resultptr
;
4551 resultptr
= new wxPoint((wxPoint
&)(result
));
4552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4560 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxPoint
*arg1
= (wxPoint
*) 0 ;
4566 PyObject
* obj0
= 0 ;
4567 PyObject
* obj1
= 0 ;
4569 (char *) "self",(char *) "pt", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4574 if (SWIG_arg_fail(1)) SWIG_fail
;
4577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4587 wxPoint
* resultptr
;
4588 resultptr
= new wxPoint((wxPoint
&)(result
));
4589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4597 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxPoint
*arg1
= (wxPoint
*) 0 ;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4606 (char *) "self",(char *) "pt", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4611 if (SWIG_arg_fail(1)) SWIG_fail
;
4614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4620 result
= (wxPoint
*) &_result_ref
;
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4633 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxPoint
*arg1
= (wxPoint
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4642 (char *) "self",(char *) "pt", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4647 if (SWIG_arg_fail(1)) SWIG_fail
;
4650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4656 result
= (wxPoint
*) &_result_ref
;
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4669 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxPoint
*arg1
= (wxPoint
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 PyObject
* obj2
= 0 ;
4678 (char *) "self",(char *) "x",(char *) "y", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 arg2
= (long)(SWIG_As_long(obj1
));
4686 if (SWIG_arg_fail(2)) SWIG_fail
;
4689 arg3
= (long)(SWIG_As_long(obj2
));
4690 if (SWIG_arg_fail(3)) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxPoint_Set(arg1
,arg2
,arg3
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 Py_INCREF(Py_None
); resultobj
= Py_None
;
4706 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxPoint
*arg1
= (wxPoint
*) 0 ;
4710 PyObject
* obj0
= 0 ;
4712 (char *) "self", NULL
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4717 if (SWIG_arg_fail(1)) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (PyObject
*)wxPoint_Get(arg1
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4732 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4735 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4737 return Py_BuildValue((char *)"");
4739 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 int arg1
= (int) 0 ;
4742 int arg2
= (int) 0 ;
4743 int arg3
= (int) 0 ;
4744 int arg4
= (int) 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4748 PyObject
* obj2
= 0 ;
4749 PyObject
* obj3
= 0 ;
4751 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4757 arg1
= (int)(SWIG_As_int(obj0
));
4758 if (SWIG_arg_fail(1)) SWIG_fail
;
4763 arg2
= (int)(SWIG_As_int(obj1
));
4764 if (SWIG_arg_fail(2)) SWIG_fail
;
4769 arg3
= (int)(SWIG_As_int(obj2
));
4770 if (SWIG_arg_fail(3)) SWIG_fail
;
4775 arg4
= (int)(SWIG_As_int(obj3
));
4776 if (SWIG_arg_fail(4)) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4793 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4803 (char *) "topLeft",(char *) "bottomRight", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4809 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4829 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4839 (char *) "pos",(char *) "size", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4845 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4865 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4870 PyObject
* obj0
= 0 ;
4872 (char *) "size", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4878 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4894 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxRect
*arg1
= (wxRect
*) 0 ;
4897 PyObject
* obj0
= 0 ;
4899 (char *) "self", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4904 if (SWIG_arg_fail(1)) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxRect
*arg1
= (wxRect
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "self", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (int)((wxRect
const *)arg1
)->GetX();
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_From_int((int)(result
));
4947 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxRect
*arg1
= (wxRect
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4952 PyObject
* obj1
= 0 ;
4954 (char *) "self",(char *) "x", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4959 if (SWIG_arg_fail(1)) SWIG_fail
;
4961 arg2
= (int)(SWIG_As_int(obj1
));
4962 if (SWIG_arg_fail(2)) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 Py_INCREF(Py_None
); resultobj
= Py_None
;
4978 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxRect
*arg1
= (wxRect
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (int)(arg1
)->GetY();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= SWIG_From_int((int)(result
));
5006 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxRect
*arg1
= (wxRect
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5013 (char *) "self",(char *) "y", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail
;
5020 arg2
= (int)(SWIG_As_int(obj1
));
5021 if (SWIG_arg_fail(2)) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 Py_INCREF(Py_None
); resultobj
= Py_None
;
5037 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxRect
*arg1
= (wxRect
*) 0 ;
5041 PyObject
* obj0
= 0 ;
5043 (char *) "self", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5048 if (SWIG_arg_fail(1)) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_From_int((int)(result
));
5065 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxRect
*arg1
= (wxRect
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5072 (char *) "self",(char *) "w", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5077 if (SWIG_arg_fail(1)) SWIG_fail
;
5079 arg2
= (int)(SWIG_As_int(obj1
));
5080 if (SWIG_arg_fail(2)) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 (arg1
)->SetWidth(arg2
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxRect
*arg1
= (wxRect
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5102 (char *) "self", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5107 if (SWIG_arg_fail(1)) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= SWIG_From_int((int)(result
));
5124 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxRect
*arg1
= (wxRect
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5131 (char *) "self",(char *) "h", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail
;
5138 arg2
= (int)(SWIG_As_int(obj1
));
5139 if (SWIG_arg_fail(2)) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 (arg1
)->SetHeight(arg2
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 Py_INCREF(Py_None
); resultobj
= Py_None
;
5155 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxRect
*arg1
= (wxRect
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= ((wxRect
const *)arg1
)->GetPosition();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5175 wxPoint
* resultptr
;
5176 resultptr
= new wxPoint((wxPoint
&)(result
));
5177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5185 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxRect
*arg1
= (wxRect
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj1
= 0 ;
5193 (char *) "self",(char *) "p", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5198 if (SWIG_arg_fail(1)) SWIG_fail
;
5201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 Py_INCREF(Py_None
); resultobj
= Py_None
;
5217 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxRect
*arg1
= (wxRect
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5228 if (SWIG_arg_fail(1)) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= ((wxRect
const *)arg1
)->GetSize();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5238 resultptr
= new wxSize((wxSize
&)(result
));
5239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5247 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxRect
*arg1
= (wxRect
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5255 (char *) "self",(char *) "s", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5260 if (SWIG_arg_fail(1)) SWIG_fail
;
5263 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 (arg1
)->SetSize((wxSize
const &)*arg2
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 Py_INCREF(Py_None
); resultobj
= Py_None
;
5279 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxRect
*arg1
= (wxRect
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5290 if (SWIG_arg_fail(1)) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 wxPoint
* resultptr
;
5300 resultptr
= new wxPoint((wxPoint
&)(result
));
5301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5309 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxRect
*arg1
= (wxRect
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5317 (char *) "self",(char *) "p", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5322 if (SWIG_arg_fail(1)) SWIG_fail
;
5325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxRect
*arg1
= (wxRect
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5347 (char *) "self", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5352 if (SWIG_arg_fail(1)) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5361 wxPoint
* resultptr
;
5362 resultptr
= new wxPoint((wxPoint
&)(result
));
5363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5371 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxRect
*arg1
= (wxRect
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "p", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5384 if (SWIG_arg_fail(1)) SWIG_fail
;
5387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxRect
*arg1
= (wxRect
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5409 (char *) "self", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5414 if (SWIG_arg_fail(1)) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_From_int((int)(result
));
5431 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxRect
*arg1
= (wxRect
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5437 (char *) "self", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5442 if (SWIG_arg_fail(1)) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= (int)((wxRect
const *)arg1
)->GetTop();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_From_int((int)(result
));
5459 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxRect
*arg1
= (wxRect
*) 0 ;
5463 PyObject
* obj0
= 0 ;
5465 (char *) "self", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_From_int((int)(result
));
5487 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxRect
*arg1
= (wxRect
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "self", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (int)((wxRect
const *)arg1
)->GetRight();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_From_int((int)(result
));
5515 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxRect
*arg1
= (wxRect
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5522 (char *) "self",(char *) "left", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5527 if (SWIG_arg_fail(1)) SWIG_fail
;
5529 arg2
= (int)(SWIG_As_int(obj1
));
5530 if (SWIG_arg_fail(2)) SWIG_fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 (arg1
)->SetLeft(arg2
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 Py_INCREF(Py_None
); resultobj
= Py_None
;
5546 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxRect
*arg1
= (wxRect
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5553 (char *) "self",(char *) "right", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5558 if (SWIG_arg_fail(1)) SWIG_fail
;
5560 arg2
= (int)(SWIG_As_int(obj1
));
5561 if (SWIG_arg_fail(2)) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 (arg1
)->SetRight(arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 Py_INCREF(Py_None
); resultobj
= Py_None
;
5577 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxRect
*arg1
= (wxRect
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5584 (char *) "self",(char *) "top", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5589 if (SWIG_arg_fail(1)) SWIG_fail
;
5591 arg2
= (int)(SWIG_As_int(obj1
));
5592 if (SWIG_arg_fail(2)) SWIG_fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 (arg1
)->SetTop(arg2
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxRect
*arg1
= (wxRect
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "bottom", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5620 if (SWIG_arg_fail(1)) SWIG_fail
;
5622 arg2
= (int)(SWIG_As_int(obj1
));
5623 if (SWIG_arg_fail(2)) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->SetBottom(arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 Py_INCREF(Py_None
); resultobj
= Py_None
;
5639 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxRect
*arg1
= (wxRect
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5647 PyObject
* obj2
= 0 ;
5649 (char *) "self",(char *) "dx",(char *) "dy", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5654 if (SWIG_arg_fail(1)) SWIG_fail
;
5656 arg2
= (int)(SWIG_As_int(obj1
));
5657 if (SWIG_arg_fail(2)) SWIG_fail
;
5660 arg3
= (int)(SWIG_As_int(obj2
));
5661 if (SWIG_arg_fail(3)) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5667 result
= (wxRect
*) &_result_ref
;
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5680 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxRect
*arg1
= (wxRect
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5690 (char *) "self",(char *) "dx",(char *) "dy", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5695 if (SWIG_arg_fail(1)) SWIG_fail
;
5697 arg2
= (int)(SWIG_As_int(obj1
));
5698 if (SWIG_arg_fail(2)) SWIG_fail
;
5701 arg3
= (int)(SWIG_As_int(obj2
));
5702 if (SWIG_arg_fail(3)) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5708 result
= (wxRect
*) &_result_ref
;
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5721 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxRect
*arg1
= (wxRect
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5728 PyObject
* obj2
= 0 ;
5730 (char *) "self",(char *) "dx",(char *) "dy", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5735 if (SWIG_arg_fail(1)) SWIG_fail
;
5737 arg2
= (int)(SWIG_As_int(obj1
));
5738 if (SWIG_arg_fail(2)) SWIG_fail
;
5741 arg3
= (int)(SWIG_As_int(obj2
));
5742 if (SWIG_arg_fail(3)) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 (arg1
)->Offset(arg2
,arg3
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 Py_INCREF(Py_None
); resultobj
= Py_None
;
5758 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxRect
*arg1
= (wxRect
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5766 (char *) "self",(char *) "pt", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5771 if (SWIG_arg_fail(1)) SWIG_fail
;
5774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 (arg1
)->Offset((wxPoint
const &)*arg2
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 Py_INCREF(Py_None
); resultobj
= Py_None
;
5790 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxRect
*arg1
= (wxRect
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5799 (char *) "self",(char *) "rect", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail
;
5807 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultptr
= new wxRect((wxRect
&)(result
));
5819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5827 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxRect
*arg1
= (wxRect
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5836 (char *) "self",(char *) "rect", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5841 if (SWIG_arg_fail(1)) SWIG_fail
;
5844 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5855 resultptr
= new wxRect((wxRect
&)(result
));
5856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5864 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxRect
*arg1
= (wxRect
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5873 (char *) "self",(char *) "rect", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5878 if (SWIG_arg_fail(1)) SWIG_fail
;
5881 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5892 resultptr
= new wxRect((wxRect
&)(result
));
5893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5901 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxRect
*arg1
= (wxRect
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5910 (char *) "self",(char *) "rect", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5915 if (SWIG_arg_fail(1)) SWIG_fail
;
5918 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5924 result
= (wxRect
*) &_result_ref
;
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5937 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxRect
*arg1
= (wxRect
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5946 (char *) "self",(char *) "rect", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5972 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxRect
*arg1
= (wxRect
*) 0 ;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj1
= 0 ;
5981 (char *) "self",(char *) "rect", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5986 if (SWIG_arg_fail(1)) SWIG_fail
;
5989 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6007 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxRect
*arg1
= (wxRect
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6014 PyObject
* obj1
= 0 ;
6015 PyObject
* obj2
= 0 ;
6017 (char *) "self",(char *) "x",(char *) "y", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6022 if (SWIG_arg_fail(1)) SWIG_fail
;
6024 arg2
= (int)(SWIG_As_int(obj1
));
6025 if (SWIG_arg_fail(2)) SWIG_fail
;
6028 arg3
= (int)(SWIG_As_int(obj2
));
6029 if (SWIG_arg_fail(3)) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6047 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxRect
*arg1
= (wxRect
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6056 (char *) "self",(char *) "pt", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6061 if (SWIG_arg_fail(1)) SWIG_fail
;
6064 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6082 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxRect
*arg1
= (wxRect
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6091 (char *) "self",(char *) "rect", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6096 if (SWIG_arg_fail(1)) SWIG_fail
;
6099 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6117 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxRect
*arg1
= (wxRect
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "x", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6129 if (SWIG_arg_fail(1)) SWIG_fail
;
6131 arg2
= (int)(SWIG_As_int(obj1
));
6132 if (SWIG_arg_fail(2)) SWIG_fail
;
6134 if (arg1
) (arg1
)->x
= arg2
;
6136 Py_INCREF(Py_None
); resultobj
= Py_None
;
6143 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxRect
*arg1
= (wxRect
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6154 if (SWIG_arg_fail(1)) SWIG_fail
;
6155 result
= (int) ((arg1
)->x
);
6158 resultobj
= SWIG_From_int((int)(result
));
6166 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
;
6168 wxRect
*arg1
= (wxRect
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6173 (char *) "self",(char *) "y", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6178 if (SWIG_arg_fail(1)) SWIG_fail
;
6180 arg2
= (int)(SWIG_As_int(obj1
));
6181 if (SWIG_arg_fail(2)) SWIG_fail
;
6183 if (arg1
) (arg1
)->y
= arg2
;
6185 Py_INCREF(Py_None
); resultobj
= Py_None
;
6192 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxRect
*arg1
= (wxRect
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6198 (char *) "self", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6203 if (SWIG_arg_fail(1)) SWIG_fail
;
6204 result
= (int) ((arg1
)->y
);
6207 resultobj
= SWIG_From_int((int)(result
));
6215 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxRect
*arg1
= (wxRect
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6220 PyObject
* obj1
= 0 ;
6222 (char *) "self",(char *) "width", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail
;
6229 arg2
= (int)(SWIG_As_int(obj1
));
6230 if (SWIG_arg_fail(2)) SWIG_fail
;
6232 if (arg1
) (arg1
)->width
= arg2
;
6234 Py_INCREF(Py_None
); resultobj
= Py_None
;
6241 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxRect
*arg1
= (wxRect
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 (char *) "self", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6252 if (SWIG_arg_fail(1)) SWIG_fail
;
6253 result
= (int) ((arg1
)->width
);
6256 resultobj
= SWIG_From_int((int)(result
));
6264 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxRect
*arg1
= (wxRect
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6271 (char *) "self",(char *) "height", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6276 if (SWIG_arg_fail(1)) SWIG_fail
;
6278 arg2
= (int)(SWIG_As_int(obj1
));
6279 if (SWIG_arg_fail(2)) SWIG_fail
;
6281 if (arg1
) (arg1
)->height
= arg2
;
6283 Py_INCREF(Py_None
); resultobj
= Py_None
;
6290 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxRect
*arg1
= (wxRect
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 result
= (int) ((arg1
)->height
);
6305 resultobj
= SWIG_From_int((int)(result
));
6313 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
;
6315 wxRect
*arg1
= (wxRect
*) 0 ;
6316 int arg2
= (int) 0 ;
6317 int arg3
= (int) 0 ;
6318 int arg4
= (int) 0 ;
6319 int arg5
= (int) 0 ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6322 PyObject
* obj2
= 0 ;
6323 PyObject
* obj3
= 0 ;
6324 PyObject
* obj4
= 0 ;
6326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6331 if (SWIG_arg_fail(1)) SWIG_fail
;
6334 arg2
= (int)(SWIG_As_int(obj1
));
6335 if (SWIG_arg_fail(2)) SWIG_fail
;
6340 arg3
= (int)(SWIG_As_int(obj2
));
6341 if (SWIG_arg_fail(3)) SWIG_fail
;
6346 arg4
= (int)(SWIG_As_int(obj3
));
6347 if (SWIG_arg_fail(4)) SWIG_fail
;
6352 arg5
= (int)(SWIG_As_int(obj4
));
6353 if (SWIG_arg_fail(5)) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 Py_INCREF(Py_None
); resultobj
= Py_None
;
6370 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxRect
*arg1
= (wxRect
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6376 (char *) "self", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6381 if (SWIG_arg_fail(1)) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (PyObject
*)wxRect_Get(arg1
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6396 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6399 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6401 return Py_BuildValue((char *)"");
6403 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxRect
*arg1
= (wxRect
*) 0 ;
6406 wxRect
*arg2
= (wxRect
*) 0 ;
6408 PyObject
* obj0
= 0 ;
6409 PyObject
* obj1
= 0 ;
6411 (char *) "r1",(char *) "r2", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6416 if (SWIG_arg_fail(1)) SWIG_fail
;
6417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6418 if (SWIG_arg_fail(2)) SWIG_fail
;
6420 if (!wxPyCheckForApp()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6434 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 double arg1
= (double) 0.0 ;
6437 double arg2
= (double) 0.0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6442 (char *) "x",(char *) "y", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6448 arg1
= (double)(SWIG_As_double(obj0
));
6449 if (SWIG_arg_fail(1)) SWIG_fail
;
6454 arg2
= (double)(SWIG_As_double(obj1
));
6455 if (SWIG_arg_fail(2)) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6472 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxPoint2D
*arg1
= 0 ;
6477 PyObject
* obj0
= 0 ;
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6485 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6501 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6506 PyObject
* obj0
= 0 ;
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6514 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6530 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6533 int *arg2
= (int *) 0 ;
6534 int *arg3
= (int *) 0 ;
6539 PyObject
* obj0
= 0 ;
6541 (char *) "self", NULL
6544 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6545 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6557 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6558 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6559 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6560 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6567 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6570 int *arg2
= (int *) 0 ;
6571 int *arg3
= (int *) 0 ;
6576 PyObject
* obj0
= 0 ;
6578 (char *) "self", NULL
6581 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6582 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6585 if (SWIG_arg_fail(1)) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6595 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6596 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6597 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6604 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6610 (char *) "self", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6615 if (SWIG_arg_fail(1)) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_From_double((double)(result
));
6632 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6636 PyObject
* obj0
= 0 ;
6638 (char *) "self", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6643 if (SWIG_arg_fail(1)) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_From_double((double)(result
));
6660 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6667 (char *) "self",(char *) "length", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6672 if (SWIG_arg_fail(1)) SWIG_fail
;
6674 arg2
= (double)(SWIG_As_double(obj1
));
6675 if (SWIG_arg_fail(2)) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 (arg1
)->SetVectorLength(arg2
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 Py_INCREF(Py_None
); resultobj
= Py_None
;
6691 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6698 (char *) "self",(char *) "degrees", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail
;
6705 arg2
= (double)(SWIG_As_double(obj1
));
6706 if (SWIG_arg_fail(2)) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetVectorAngle(arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6725 wxPoint2D
*arg2
= 0 ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6731 (char *) "self",(char *) "pt", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6736 if (SWIG_arg_fail(1)) SWIG_fail
;
6739 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= SWIG_From_double((double)(result
));
6757 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6760 wxPoint2D
*arg2
= 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "pt", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6771 if (SWIG_arg_fail(1)) SWIG_fail
;
6774 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_From_double((double)(result
));
6792 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6795 wxPoint2D
*arg2
= 0 ;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6801 (char *) "self",(char *) "vec", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail
;
6809 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_From_double((double)(result
));
6827 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6830 wxPoint2D
*arg2
= 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "vec", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail
;
6844 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_From_double((double)(result
));
6862 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6868 (char *) "self", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6873 if (SWIG_arg_fail(1)) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (arg1
)->operator -();
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 wxPoint2D
* resultptr
;
6883 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6892 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6895 wxPoint2D
*arg2
= 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "pt", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6906 if (SWIG_arg_fail(1)) SWIG_fail
;
6909 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6915 result
= (wxPoint2D
*) &_result_ref
;
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6928 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6931 wxPoint2D
*arg2
= 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6937 (char *) "self",(char *) "pt", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6942 if (SWIG_arg_fail(1)) SWIG_fail
;
6945 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6951 result
= (wxPoint2D
*) &_result_ref
;
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6964 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6967 wxPoint2D
*arg2
= 0 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6973 (char *) "self",(char *) "pt", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6978 if (SWIG_arg_fail(1)) SWIG_fail
;
6981 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6987 result
= (wxPoint2D
*) &_result_ref
;
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7000 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7003 wxPoint2D
*arg2
= 0 ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7009 (char *) "self",(char *) "pt", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7014 if (SWIG_arg_fail(1)) SWIG_fail
;
7017 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7023 result
= (wxPoint2D
*) &_result_ref
;
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7036 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7038 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7039 wxPoint2D
*arg2
= 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7045 (char *) "self",(char *) "pt", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7050 if (SWIG_arg_fail(1)) SWIG_fail
;
7053 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7071 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7074 wxPoint2D
*arg2
= 0 ;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7080 (char *) "self",(char *) "pt", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7085 if (SWIG_arg_fail(1)) SWIG_fail
;
7088 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7106 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7113 (char *) "self",(char *) "m_x", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7120 arg2
= (double)(SWIG_As_double(obj1
));
7121 if (SWIG_arg_fail(2)) SWIG_fail
;
7123 if (arg1
) (arg1
)->m_x
= arg2
;
7125 Py_INCREF(Py_None
); resultobj
= Py_None
;
7132 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7138 (char *) "self", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail
;
7144 result
= (double) ((arg1
)->m_x
);
7147 resultobj
= SWIG_From_double((double)(result
));
7155 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7162 (char *) "self",(char *) "m_y", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7167 if (SWIG_arg_fail(1)) SWIG_fail
;
7169 arg2
= (double)(SWIG_As_double(obj1
));
7170 if (SWIG_arg_fail(2)) SWIG_fail
;
7172 if (arg1
) (arg1
)->m_y
= arg2
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7187 (char *) "self", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7192 if (SWIG_arg_fail(1)) SWIG_fail
;
7193 result
= (double) ((arg1
)->m_y
);
7196 resultobj
= SWIG_From_double((double)(result
));
7204 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7207 double arg2
= (double) 0 ;
7208 double arg3
= (double) 0 ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7211 PyObject
* obj2
= 0 ;
7213 (char *) "self",(char *) "x",(char *) "y", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7218 if (SWIG_arg_fail(1)) SWIG_fail
;
7221 arg2
= (double)(SWIG_As_double(obj1
));
7222 if (SWIG_arg_fail(2)) SWIG_fail
;
7227 arg3
= (double)(SWIG_As_double(obj2
));
7228 if (SWIG_arg_fail(3)) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 wxPoint2D_Set(arg1
,arg2
,arg3
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7251 (char *) "self", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7256 if (SWIG_arg_fail(1)) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7271 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7274 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7276 return Py_BuildValue((char *)"");
7278 static int _wrap_DefaultPosition_set(PyObject
*) {
7279 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7284 static PyObject
*_wrap_DefaultPosition_get(void) {
7287 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7292 static int _wrap_DefaultSize_set(PyObject
*) {
7293 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7298 static PyObject
*_wrap_DefaultSize_get(void) {
7301 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7306 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 PyObject
*arg1
= (PyObject
*) 0 ;
7309 wxPyInputStream
*result
;
7310 PyObject
* obj0
= 0 ;
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7331 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7336 (char *) "self", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7341 if (SWIG_arg_fail(1)) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7366 if (SWIG_arg_fail(1)) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7384 PyObject
* obj0
= 0 ;
7386 (char *) "self", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7391 if (SWIG_arg_fail(1)) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7412 (char *) "self", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7417 if (SWIG_arg_fail(1)) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (bool)(arg1
)->eof();
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7434 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7437 int arg2
= (int) -1 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7442 (char *) "self",(char *) "size", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail
;
7450 arg2
= (int)(SWIG_As_int(obj1
));
7451 if (SWIG_arg_fail(2)) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (PyObject
*)(arg1
)->read(arg2
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7468 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7471 int arg2
= (int) -1 ;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7476 (char *) "self",(char *) "size", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail
;
7484 arg2
= (int)(SWIG_As_int(obj1
));
7485 if (SWIG_arg_fail(2)) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (PyObject
*)(arg1
)->readline(arg2
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7502 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7505 int arg2
= (int) -1 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7510 (char *) "self",(char *) "sizehint", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7515 if (SWIG_arg_fail(1)) SWIG_fail
;
7518 arg2
= (int)(SWIG_As_int(obj1
));
7519 if (SWIG_arg_fail(2)) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7536 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7540 int arg3
= (int) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7543 PyObject
* obj2
= 0 ;
7545 (char *) "self",(char *) "offset",(char *) "whence", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 arg2
= (int)(SWIG_As_int(obj1
));
7553 if (SWIG_arg_fail(2)) SWIG_fail
;
7557 arg3
= (int)(SWIG_As_int(obj2
));
7558 if (SWIG_arg_fail(3)) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 (arg1
)->seek(arg2
,arg3
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 Py_INCREF(Py_None
); resultobj
= Py_None
;
7575 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7581 (char *) "self", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (int)(arg1
)->tell();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_From_int((int)(result
));
7603 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7609 (char *) "self", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7614 if (SWIG_arg_fail(1)) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 result
= (char)(arg1
)->Peek();
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_From_char((char)(result
));
7631 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7637 (char *) "self", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (char)(arg1
)->GetC();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_From_char((char)(result
));
7659 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7665 (char *) "self", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7670 if (SWIG_arg_fail(1)) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (size_t)(arg1
)->LastRead();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7687 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (bool)(arg1
)->CanRead();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7715 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7726 if (SWIG_arg_fail(1)) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (bool)(arg1
)->Eof();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7743 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7751 (char *) "self",(char *) "c", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7756 if (SWIG_arg_fail(1)) SWIG_fail
;
7758 arg2
= (char)(SWIG_As_char(obj1
));
7759 if (SWIG_arg_fail(2)) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (bool)(arg1
)->Ungetch(arg2
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7777 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7781 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7783 PyObject
* obj0
= 0 ;
7784 PyObject
* obj1
= 0 ;
7785 PyObject
* obj2
= 0 ;
7787 (char *) "self",(char *) "pos",(char *) "mode", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7792 if (SWIG_arg_fail(1)) SWIG_fail
;
7794 arg2
= (long)(SWIG_As_long(obj1
));
7795 if (SWIG_arg_fail(2)) SWIG_fail
;
7799 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7800 if (SWIG_arg_fail(3)) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_From_long((long)(result
));
7819 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (long)(arg1
)->TellI();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_From_long((long)(result
));
7847 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7850 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7852 return Py_BuildValue((char *)"");
7854 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7857 PyObject
*arg2
= (PyObject
*) 0 ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7861 (char *) "self",(char *) "obj", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7866 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 wxOutputStream_write(arg1
,arg2
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 Py_INCREF(Py_None
); resultobj
= Py_None
;
7882 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7885 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7887 return Py_BuildValue((char *)"");
7889 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7892 wxString
*arg2
= 0 ;
7893 wxString
*arg3
= 0 ;
7894 wxString
*arg4
= 0 ;
7897 wxPyInputStream
*temp1
;
7899 bool temp2
= false ;
7900 bool temp3
= false ;
7901 bool temp4
= false ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7904 PyObject
* obj2
= 0 ;
7905 PyObject
* obj3
= 0 ;
7906 PyObject
* obj4
= 0 ;
7908 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7913 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7914 arg1
= temp1
->m_wxis
;
7917 PyErr_Clear(); // clear the failure of the wxPyConvert above
7918 arg1
= wxPyCBInputStream_create(obj0
, false);
7920 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7927 arg2
= wxString_in_helper(obj1
);
7928 if (arg2
== NULL
) SWIG_fail
;
7932 arg3
= wxString_in_helper(obj2
);
7933 if (arg3
== NULL
) SWIG_fail
;
7937 arg4
= wxString_in_helper(obj3
);
7938 if (arg4
== NULL
) SWIG_fail
;
7943 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7944 if (SWIG_arg_fail(5)) SWIG_fail
;
7946 SWIG_null_ref("wxDateTime");
7948 if (SWIG_arg_fail(5)) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= wxPyMake_wxObject(result
, 1);
7999 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8004 (char *) "self", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 Py_INCREF(Py_None
); resultobj
= Py_None
;
8024 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8027 wxInputStream
*result
;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8035 if (SWIG_arg_fail(1)) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (wxInputStream
*)(arg1
)->GetStream();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8044 wxPyInputStream
* _ptr
= NULL
;
8047 _ptr
= new wxPyInputStream(result
);
8049 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8057 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8061 PyObject
* obj0
= 0 ;
8063 (char *) "self", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8068 if (SWIG_arg_fail(1)) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8073 result
= (wxString
*) &_result_ref
;
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8083 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8092 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "self", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8103 if (SWIG_arg_fail(1)) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 wxString
const &_result_ref
= (arg1
)->GetLocation();
8108 result
= (wxString
*) &_result_ref
;
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8118 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8127 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8143 result
= (wxString
*) &_result_ref
;
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8153 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8162 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8173 if (SWIG_arg_fail(1)) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (arg1
)->GetModificationTime();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8182 wxDateTime
* resultptr
;
8183 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8192 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8195 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8197 return Py_BuildValue((char *)"");
8199 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8202 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8204 return Py_BuildValue((char *)"");
8206 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxPyFileSystemHandler
*result
;
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8228 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8231 PyObject
*arg2
= (PyObject
*) 0 ;
8232 PyObject
*arg3
= (PyObject
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8234 PyObject
* obj1
= 0 ;
8235 PyObject
* obj2
= 0 ;
8237 (char *) "self",(char *) "self",(char *) "_class", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail
;
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 Py_INCREF(Py_None
); resultobj
= Py_None
;
8259 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
*resultobj
;
8261 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8262 wxString
*arg2
= 0 ;
8264 bool temp2
= false ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8268 (char *) "self",(char *) "location", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8273 if (SWIG_arg_fail(1)) SWIG_fail
;
8275 arg2
= wxString_in_helper(obj1
);
8276 if (arg2
== NULL
) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8303 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8306 wxFileSystem
*arg2
= 0 ;
8307 wxString
*arg3
= 0 ;
8309 bool temp3
= false ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8312 PyObject
* obj2
= 0 ;
8314 (char *) "self",(char *) "fs",(char *) "location", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail
;
8321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8322 if (SWIG_arg_fail(2)) SWIG_fail
;
8324 SWIG_null_ref("wxFileSystem");
8326 if (SWIG_arg_fail(2)) SWIG_fail
;
8329 arg3
= wxString_in_helper(obj2
);
8330 if (arg3
== NULL
) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= wxPyMake_wxObject(result
, 1);
8357 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8360 wxString
*arg2
= 0 ;
8361 int arg3
= (int) 0 ;
8363 bool temp2
= false ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8368 (char *) "self",(char *) "spec",(char *) "flags", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8373 if (SWIG_arg_fail(1)) SWIG_fail
;
8375 arg2
= wxString_in_helper(obj1
);
8376 if (arg2
== NULL
) SWIG_fail
;
8381 arg3
= (int)(SWIG_As_int(obj2
));
8382 if (SWIG_arg_fail(3)) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8413 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8419 (char *) "self", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 result
= (arg1
)->FindNext();
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8445 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8448 wxString
*arg2
= 0 ;
8450 bool temp2
= false ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8454 (char *) "self",(char *) "location", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail
;
8461 arg2
= wxString_in_helper(obj1
);
8462 if (arg2
== NULL
) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8493 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8496 wxString
*arg2
= 0 ;
8498 bool temp2
= false ;
8499 PyObject
* obj0
= 0 ;
8500 PyObject
* obj1
= 0 ;
8502 (char *) "self",(char *) "location", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8507 if (SWIG_arg_fail(1)) SWIG_fail
;
8509 arg2
= wxString_in_helper(obj1
);
8510 if (arg2
== NULL
) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8541 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8544 wxString
*arg2
= 0 ;
8546 bool temp2
= false ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8550 (char *) "self",(char *) "location", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8555 if (SWIG_arg_fail(1)) SWIG_fail
;
8557 arg2
= wxString_in_helper(obj1
);
8558 if (arg2
== NULL
) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8589 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8592 wxString
*arg2
= 0 ;
8594 bool temp2
= false ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "self",(char *) "location", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail
;
8605 arg2
= wxString_in_helper(obj1
);
8606 if (arg2
== NULL
) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8637 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8640 wxString
*arg2
= 0 ;
8642 bool temp2
= false ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8646 (char *) "self",(char *) "location", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8651 if (SWIG_arg_fail(1)) SWIG_fail
;
8653 arg2
= wxString_in_helper(obj1
);
8654 if (arg2
== NULL
) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8685 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8688 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8690 return Py_BuildValue((char *)"");
8692 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxFileSystem
*result
;
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (wxFileSystem
*)new wxFileSystem();
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= wxPyMake_wxObject(result
, 1);
8716 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
*resultobj
;
8718 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8719 PyObject
* obj0
= 0 ;
8721 (char *) "self", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8726 if (SWIG_arg_fail(1)) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 Py_INCREF(Py_None
); resultobj
= Py_None
;
8741 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
;
8743 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8744 wxString
*arg2
= 0 ;
8745 bool arg3
= (bool) false ;
8746 bool temp2
= false ;
8747 PyObject
* obj0
= 0 ;
8748 PyObject
* obj1
= 0 ;
8749 PyObject
* obj2
= 0 ;
8751 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail
;
8758 arg2
= wxString_in_helper(obj1
);
8759 if (arg2
== NULL
) SWIG_fail
;
8764 arg3
= (bool)(SWIG_As_bool(obj2
));
8765 if (SWIG_arg_fail(3)) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8790 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8794 PyObject
* obj0
= 0 ;
8796 (char *) "self", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 result
= (arg1
)->GetPath();
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8822 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8825 wxString
*arg2
= 0 ;
8827 bool temp2
= false ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8831 (char *) "self",(char *) "location", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8836 if (SWIG_arg_fail(1)) SWIG_fail
;
8838 arg2
= wxString_in_helper(obj1
);
8839 if (arg2
== NULL
) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= wxPyMake_wxObject(result
, 1);
8866 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8869 wxString
*arg2
= 0 ;
8870 int arg3
= (int) 0 ;
8872 bool temp2
= false ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8877 (char *) "self",(char *) "spec",(char *) "flags", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8882 if (SWIG_arg_fail(1)) SWIG_fail
;
8884 arg2
= wxString_in_helper(obj1
);
8885 if (arg2
== NULL
) SWIG_fail
;
8890 arg3
= (int)(SWIG_As_int(obj2
));
8891 if (SWIG_arg_fail(3)) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8922 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8933 if (SWIG_arg_fail(1)) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (arg1
)->FindNext();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8954 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8956 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8957 PyObject
* obj0
= 0 ;
8959 (char *) "handler", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8964 if (SWIG_arg_fail(1)) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxFileSystem::AddHandler(arg1
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8979 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 wxFileSystem::CleanUpHandlers();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9000 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxString
*arg1
= 0 ;
9004 bool temp1
= false ;
9005 PyObject
* obj0
= 0 ;
9007 (char *) "filename", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9012 arg1
= wxString_in_helper(obj0
);
9013 if (arg1
== NULL
) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9044 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxString
*arg1
= 0 ;
9048 bool temp1
= false ;
9049 PyObject
* obj0
= 0 ;
9051 (char *) "url", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9056 arg1
= wxString_in_helper(obj0
);
9057 if (arg1
== NULL
) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9088 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9091 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9093 return Py_BuildValue((char *)"");
9095 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxInternetFSHandler
*result
;
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9117 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9120 wxString
*arg2
= 0 ;
9122 bool temp2
= false ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "location", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9131 if (SWIG_arg_fail(1)) SWIG_fail
;
9133 arg2
= wxString_in_helper(obj1
);
9134 if (arg2
== NULL
) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9161 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9164 wxFileSystem
*arg2
= 0 ;
9165 wxString
*arg3
= 0 ;
9167 bool temp3
= false ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 PyObject
* obj2
= 0 ;
9172 (char *) "self",(char *) "fs",(char *) "location", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9177 if (SWIG_arg_fail(1)) SWIG_fail
;
9179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9180 if (SWIG_arg_fail(2)) SWIG_fail
;
9182 SWIG_null_ref("wxFileSystem");
9184 if (SWIG_arg_fail(2)) SWIG_fail
;
9187 arg3
= wxString_in_helper(obj2
);
9188 if (arg3
== NULL
) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= wxPyMake_wxObject(result
, 1);
9215 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9218 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9220 return Py_BuildValue((char *)"");
9222 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxZipFSHandler
*result
;
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9244 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9247 wxString
*arg2
= 0 ;
9249 bool temp2
= false ;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9253 (char *) "self",(char *) "location", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9258 if (SWIG_arg_fail(1)) SWIG_fail
;
9260 arg2
= wxString_in_helper(obj1
);
9261 if (arg2
== NULL
) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9291 wxFileSystem
*arg2
= 0 ;
9292 wxString
*arg3
= 0 ;
9294 bool temp3
= false ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9299 (char *) "self",(char *) "fs",(char *) "location", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9304 if (SWIG_arg_fail(1)) SWIG_fail
;
9306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9307 if (SWIG_arg_fail(2)) SWIG_fail
;
9309 SWIG_null_ref("wxFileSystem");
9311 if (SWIG_arg_fail(2)) SWIG_fail
;
9314 arg3
= wxString_in_helper(obj2
);
9315 if (arg3
== NULL
) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= wxPyMake_wxObject(result
, 1);
9342 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9345 wxString
*arg2
= 0 ;
9346 int arg3
= (int) 0 ;
9348 bool temp2
= false ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9351 PyObject
* obj2
= 0 ;
9353 (char *) "self",(char *) "spec",(char *) "flags", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9358 if (SWIG_arg_fail(1)) SWIG_fail
;
9360 arg2
= wxString_in_helper(obj1
);
9361 if (arg2
== NULL
) SWIG_fail
;
9366 arg3
= (int)(SWIG_As_int(obj2
));
9367 if (SWIG_arg_fail(3)) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9398 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9404 (char *) "self", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9409 if (SWIG_arg_fail(1)) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (arg1
)->FindNext();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9430 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9433 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9435 return Py_BuildValue((char *)"");
9437 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
;
9439 wxString
*arg1
= 0 ;
9442 bool temp1
= false ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 PyObject
* obj2
= 0 ;
9447 (char *) "filename",(char *) "image",(char *) "type", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9452 arg1
= wxString_in_helper(obj0
);
9453 if (arg1
== NULL
) SWIG_fail
;
9457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9458 if (SWIG_arg_fail(2)) SWIG_fail
;
9460 SWIG_null_ref("wxImage");
9462 if (SWIG_arg_fail(2)) SWIG_fail
;
9465 arg3
= (long)(SWIG_As_long(obj2
));
9466 if (SWIG_arg_fail(3)) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 Py_INCREF(Py_None
); resultobj
= Py_None
;
9490 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxString
*arg1
= 0 ;
9493 wxBitmap
*arg2
= 0 ;
9495 bool temp1
= false ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 PyObject
* obj2
= 0 ;
9500 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9505 arg1
= wxString_in_helper(obj0
);
9506 if (arg1
== NULL
) SWIG_fail
;
9510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9511 if (SWIG_arg_fail(2)) SWIG_fail
;
9513 SWIG_null_ref("wxBitmap");
9515 if (SWIG_arg_fail(2)) SWIG_fail
;
9518 arg3
= (long)(SWIG_As_long(obj2
));
9519 if (SWIG_arg_fail(3)) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9543 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxString
*arg1
= 0 ;
9546 PyObject
*arg2
= (PyObject
*) 0 ;
9547 bool temp1
= false ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9551 (char *) "filename",(char *) "data", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9556 arg1
= wxString_in_helper(obj0
);
9557 if (arg1
== NULL
) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 Py_INCREF(Py_None
); resultobj
= Py_None
;
9583 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxMemoryFSHandler
*result
;
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9605 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxString
*arg1
= 0 ;
9608 bool temp1
= false ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "filename", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9616 arg1
= wxString_in_helper(obj0
);
9617 if (arg1
== NULL
) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9642 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9645 wxString
*arg2
= 0 ;
9647 bool temp2
= false ;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9651 (char *) "self",(char *) "location", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 arg2
= wxString_in_helper(obj1
);
9659 if (arg2
== NULL
) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9686 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9689 wxFileSystem
*arg2
= 0 ;
9690 wxString
*arg3
= 0 ;
9692 bool temp3
= false ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9695 PyObject
* obj2
= 0 ;
9697 (char *) "self",(char *) "fs",(char *) "location", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9702 if (SWIG_arg_fail(1)) SWIG_fail
;
9704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9705 if (SWIG_arg_fail(2)) SWIG_fail
;
9707 SWIG_null_ref("wxFileSystem");
9709 if (SWIG_arg_fail(2)) SWIG_fail
;
9712 arg3
= wxString_in_helper(obj2
);
9713 if (arg3
== NULL
) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= wxPyMake_wxObject(result
, 1);
9740 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9743 wxString
*arg2
= 0 ;
9744 int arg3
= (int) 0 ;
9746 bool temp2
= false ;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 PyObject
* obj2
= 0 ;
9751 (char *) "self",(char *) "spec",(char *) "flags", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9756 if (SWIG_arg_fail(1)) SWIG_fail
;
9758 arg2
= wxString_in_helper(obj1
);
9759 if (arg2
== NULL
) SWIG_fail
;
9764 arg3
= (int)(SWIG_As_int(obj2
));
9765 if (SWIG_arg_fail(3)) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9796 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (arg1
)->FindNext();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9828 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9831 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9833 return Py_BuildValue((char *)"");
9835 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9841 (char *) "self", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9846 if (SWIG_arg_fail(1)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (arg1
)->GetName();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9867 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "self", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9878 if (SWIG_arg_fail(1)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (arg1
)->GetExtension();
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9899 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (long)(arg1
)->GetType();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_From_long((long)(result
));
9927 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9933 (char *) "self", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9938 if (SWIG_arg_fail(1)) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (arg1
)->GetMimeType();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9959 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9962 wxString
*arg2
= 0 ;
9964 bool temp2
= false ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9968 (char *) "self",(char *) "name", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9973 if (SWIG_arg_fail(1)) SWIG_fail
;
9975 arg2
= wxString_in_helper(obj1
);
9976 if (arg2
== NULL
) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10003 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10006 wxString
*arg2
= 0 ;
10007 bool temp2
= false ;
10008 PyObject
* obj0
= 0 ;
10009 PyObject
* obj1
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self",(char *) "name", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10016 if (SWIG_arg_fail(1)) SWIG_fail
;
10018 arg2
= wxString_in_helper(obj1
);
10019 if (arg2
== NULL
) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 (arg1
)->SetName((wxString
const &)*arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 Py_INCREF(Py_None
); resultobj
= Py_None
;
10044 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10047 wxString
*arg2
= 0 ;
10048 bool temp2
= false ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self",(char *) "extension", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10057 if (SWIG_arg_fail(1)) SWIG_fail
;
10059 arg2
= wxString_in_helper(obj1
);
10060 if (arg2
== NULL
) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 (arg1
)->SetExtension((wxString
const &)*arg2
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 Py_INCREF(Py_None
); resultobj
= Py_None
;
10085 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 PyObject
* obj1
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self",(char *) "type", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10097 if (SWIG_arg_fail(1)) SWIG_fail
;
10099 arg2
= (long)(SWIG_As_long(obj1
));
10100 if (SWIG_arg_fail(2)) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 (arg1
)->SetType(arg2
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 Py_INCREF(Py_None
); resultobj
= Py_None
;
10116 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10119 wxString
*arg2
= 0 ;
10120 bool temp2
= false ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self",(char *) "mimetype", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10129 if (SWIG_arg_fail(1)) SWIG_fail
;
10131 arg2
= wxString_in_helper(obj1
);
10132 if (arg2
== NULL
) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10160 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10162 return Py_BuildValue((char *)"");
10164 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxImageHistogram
*result
;
10167 char *kwnames
[] = {
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (wxImageHistogram
*)new wxImageHistogram();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10186 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 unsigned char arg1
;
10189 unsigned char arg2
;
10190 unsigned char arg3
;
10191 unsigned long result
;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 PyObject
* obj2
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "r",(char *) "g",(char *) "b", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10201 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10202 if (SWIG_arg_fail(1)) SWIG_fail
;
10205 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10206 if (SWIG_arg_fail(2)) SWIG_fail
;
10209 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10210 if (SWIG_arg_fail(3)) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10228 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10231 unsigned char *arg2
= (unsigned char *) 0 ;
10232 unsigned char *arg3
= (unsigned char *) 0 ;
10233 unsigned char *arg4
= (unsigned char *) 0 ;
10234 unsigned char arg5
= (unsigned char) 1 ;
10235 unsigned char arg6
= (unsigned char) 0 ;
10236 unsigned char arg7
= (unsigned char) 0 ;
10238 unsigned char temp2
;
10240 unsigned char temp3
;
10242 unsigned char temp4
;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 PyObject
* obj2
= 0 ;
10247 PyObject
* obj3
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10252 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10253 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10254 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail
;
10260 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10261 if (SWIG_arg_fail(5)) SWIG_fail
;
10266 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10267 if (SWIG_arg_fail(6)) SWIG_fail
;
10272 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10273 if (SWIG_arg_fail(7)) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10286 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10287 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10288 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10289 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10290 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10291 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10298 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10301 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10303 return Py_BuildValue((char *)"");
10305 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxString
*arg1
= 0 ;
10308 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10309 int arg3
= (int) -1 ;
10311 bool temp1
= false ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 PyObject
* obj2
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "name",(char *) "type",(char *) "index", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10321 arg1
= wxString_in_helper(obj0
);
10322 if (arg1
== NULL
) SWIG_fail
;
10327 arg2
= (long)(SWIG_As_long(obj1
));
10328 if (SWIG_arg_fail(2)) SWIG_fail
;
10333 arg3
= (int)(SWIG_As_int(obj2
));
10334 if (SWIG_arg_fail(3)) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10359 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxImage
*arg1
= (wxImage
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 Py_INCREF(Py_None
); resultobj
= Py_None
;
10384 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxString
*arg1
= 0 ;
10387 wxString
*arg2
= 0 ;
10388 int arg3
= (int) -1 ;
10390 bool temp1
= false ;
10391 bool temp2
= false ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10401 arg1
= wxString_in_helper(obj0
);
10402 if (arg1
== NULL
) SWIG_fail
;
10406 arg2
= wxString_in_helper(obj1
);
10407 if (arg2
== NULL
) SWIG_fail
;
10412 arg3
= (int)(SWIG_As_int(obj2
));
10413 if (SWIG_arg_fail(3)) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10446 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxInputStream
*arg1
= 0 ;
10449 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10450 int arg3
= (int) -1 ;
10452 wxPyInputStream
*temp1
;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 PyObject
* obj2
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "stream",(char *) "type",(char *) "index", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10463 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10464 arg1
= temp1
->m_wxis
;
10467 PyErr_Clear(); // clear the failure of the wxPyConvert above
10468 arg1
= wxPyCBInputStream_create(obj0
, false);
10469 if (arg1
== NULL
) {
10470 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10478 arg2
= (long)(SWIG_As_long(obj1
));
10479 if (SWIG_arg_fail(2)) SWIG_fail
;
10484 arg3
= (int)(SWIG_As_int(obj2
));
10485 if (SWIG_arg_fail(3)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10510 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxInputStream
*arg1
= 0 ;
10513 wxString
*arg2
= 0 ;
10514 int arg3
= (int) -1 ;
10516 wxPyInputStream
*temp1
;
10518 bool temp2
= false ;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 PyObject
* obj2
= 0 ;
10522 char *kwnames
[] = {
10523 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10528 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10529 arg1
= temp1
->m_wxis
;
10532 PyErr_Clear(); // clear the failure of the wxPyConvert above
10533 arg1
= wxPyCBInputStream_create(obj0
, false);
10534 if (arg1
== NULL
) {
10535 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10542 arg2
= wxString_in_helper(obj1
);
10543 if (arg2
== NULL
) SWIG_fail
;
10548 arg3
= (int)(SWIG_As_int(obj2
));
10549 if (SWIG_arg_fail(3)) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10582 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 int arg1
= (int) 0 ;
10585 int arg2
= (int) 0 ;
10586 bool arg3
= (bool) true ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "width",(char *) "height",(char *) "clear", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10598 arg1
= (int)(SWIG_As_int(obj0
));
10599 if (SWIG_arg_fail(1)) SWIG_fail
;
10604 arg2
= (int)(SWIG_As_int(obj1
));
10605 if (SWIG_arg_fail(2)) SWIG_fail
;
10610 arg3
= (bool)(SWIG_As_bool(obj2
));
10611 if (SWIG_arg_fail(3)) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10628 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxBitmap
*arg1
= 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "bitmap", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10640 if (SWIG_arg_fail(1)) SWIG_fail
;
10641 if (arg1
== NULL
) {
10642 SWIG_null_ref("wxBitmap");
10644 if (SWIG_arg_fail(1)) SWIG_fail
;
10647 if (!wxPyCheckForApp()) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10661 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10665 unsigned char *arg3
= (unsigned char *) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 PyObject
* obj2
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "width",(char *) "height",(char *) "data", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10676 arg1
= (int)(SWIG_As_int(obj0
));
10677 if (SWIG_arg_fail(1)) SWIG_fail
;
10680 arg2
= (int)(SWIG_As_int(obj1
));
10681 if (SWIG_arg_fail(2)) SWIG_fail
;
10683 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10684 if (SWIG_arg_fail(3)) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10699 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10703 unsigned char *arg3
= (unsigned char *) 0 ;
10704 unsigned char *arg4
= (unsigned char *) 0 ;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 PyObject
* obj2
= 0 ;
10709 PyObject
* obj3
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10716 arg1
= (int)(SWIG_As_int(obj0
));
10717 if (SWIG_arg_fail(1)) SWIG_fail
;
10720 arg2
= (int)(SWIG_As_int(obj1
));
10721 if (SWIG_arg_fail(2)) SWIG_fail
;
10723 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10724 if (SWIG_arg_fail(3)) SWIG_fail
;
10725 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10726 if (SWIG_arg_fail(4)) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10741 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxImage
*arg1
= (wxImage
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "width",(char *) "height", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10757 arg2
= (int)(SWIG_As_int(obj1
));
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10761 arg3
= (int)(SWIG_As_int(obj2
));
10762 if (SWIG_arg_fail(3)) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 (arg1
)->Create(arg2
,arg3
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 Py_INCREF(Py_None
); resultobj
= Py_None
;
10778 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxImage
*arg1
= (wxImage
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 Py_INCREF(Py_None
); resultobj
= Py_None
;
10803 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxImage
*arg1
= (wxImage
*) 0 ;
10808 SwigValueWrapper
<wxImage
> result
;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 PyObject
* obj2
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self",(char *) "width",(char *) "height", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail
;
10820 arg2
= (int)(SWIG_As_int(obj1
));
10821 if (SWIG_arg_fail(2)) SWIG_fail
;
10824 arg3
= (int)(SWIG_As_int(obj2
));
10825 if (SWIG_arg_fail(3)) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (arg1
)->Scale(arg2
,arg3
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10835 wxImage
* resultptr
;
10836 resultptr
= new wxImage((wxImage
&)(result
));
10837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10845 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxImage
*arg1
= (wxImage
*) 0 ;
10850 SwigValueWrapper
<wxImage
> result
;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10860 if (SWIG_arg_fail(1)) SWIG_fail
;
10862 arg2
= (int)(SWIG_As_int(obj1
));
10863 if (SWIG_arg_fail(2)) SWIG_fail
;
10866 arg3
= (int)(SWIG_As_int(obj2
));
10867 if (SWIG_arg_fail(3)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 wxImage
* resultptr
;
10878 resultptr
= new wxImage((wxImage
&)(result
));
10879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10887 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxImage
*arg1
= (wxImage
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "width",(char *) "height", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10902 if (SWIG_arg_fail(1)) SWIG_fail
;
10904 arg2
= (int)(SWIG_As_int(obj1
));
10905 if (SWIG_arg_fail(2)) SWIG_fail
;
10908 arg3
= (int)(SWIG_As_int(obj2
));
10909 if (SWIG_arg_fail(3)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10915 result
= (wxImage
*) &_result_ref
;
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10928 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxImage
*arg1
= (wxImage
*) 0 ;
10933 unsigned char arg4
;
10934 unsigned char arg5
;
10935 unsigned char arg6
;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 PyObject
* obj2
= 0 ;
10939 PyObject
* obj3
= 0 ;
10940 PyObject
* obj4
= 0 ;
10941 PyObject
* obj5
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail
;
10950 arg2
= (int)(SWIG_As_int(obj1
));
10951 if (SWIG_arg_fail(2)) SWIG_fail
;
10954 arg3
= (int)(SWIG_As_int(obj2
));
10955 if (SWIG_arg_fail(3)) SWIG_fail
;
10958 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10959 if (SWIG_arg_fail(4)) SWIG_fail
;
10962 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10963 if (SWIG_arg_fail(5)) SWIG_fail
;
10966 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10967 if (SWIG_arg_fail(6)) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxImage
*arg1
= (wxImage
*) 0 ;
10988 unsigned char result
;
10989 PyObject
* obj0
= 0 ;
10990 PyObject
* obj1
= 0 ;
10991 PyObject
* obj2
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self",(char *) "x",(char *) "y", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10998 if (SWIG_arg_fail(1)) SWIG_fail
;
11000 arg2
= (int)(SWIG_As_int(obj1
));
11001 if (SWIG_arg_fail(2)) SWIG_fail
;
11004 arg3
= (int)(SWIG_As_int(obj2
));
11005 if (SWIG_arg_fail(3)) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11023 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxImage
*arg1
= (wxImage
*) 0 ;
11028 unsigned char result
;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 PyObject
* obj2
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "self",(char *) "x",(char *) "y", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11038 if (SWIG_arg_fail(1)) SWIG_fail
;
11040 arg2
= (int)(SWIG_As_int(obj1
));
11041 if (SWIG_arg_fail(2)) SWIG_fail
;
11044 arg3
= (int)(SWIG_As_int(obj2
));
11045 if (SWIG_arg_fail(3)) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11063 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxImage
*arg1
= (wxImage
*) 0 ;
11068 unsigned char result
;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 PyObject
* obj2
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "x",(char *) "y", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11078 if (SWIG_arg_fail(1)) SWIG_fail
;
11080 arg2
= (int)(SWIG_As_int(obj1
));
11081 if (SWIG_arg_fail(2)) SWIG_fail
;
11084 arg3
= (int)(SWIG_As_int(obj2
));
11085 if (SWIG_arg_fail(3)) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11103 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxImage
*arg1
= (wxImage
*) 0 ;
11108 unsigned char arg4
;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 PyObject
* obj2
= 0 ;
11112 PyObject
* obj3
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11119 if (SWIG_arg_fail(1)) SWIG_fail
;
11121 arg2
= (int)(SWIG_As_int(obj1
));
11122 if (SWIG_arg_fail(2)) SWIG_fail
;
11125 arg3
= (int)(SWIG_As_int(obj2
));
11126 if (SWIG_arg_fail(3)) SWIG_fail
;
11129 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11130 if (SWIG_arg_fail(4)) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 Py_INCREF(Py_None
); resultobj
= Py_None
;
11146 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxImage
*arg1
= (wxImage
*) 0 ;
11151 unsigned char result
;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 PyObject
* obj2
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "x",(char *) "y", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11161 if (SWIG_arg_fail(1)) SWIG_fail
;
11163 arg2
= (int)(SWIG_As_int(obj1
));
11164 if (SWIG_arg_fail(2)) SWIG_fail
;
11167 arg3
= (int)(SWIG_As_int(obj2
));
11168 if (SWIG_arg_fail(3)) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11186 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxImage
*arg1
= (wxImage
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (bool)(arg1
)->HasAlpha();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxImage
*arg1
= (wxImage
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 (arg1
)->InitAlpha();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11239 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxImage
*arg1
= (wxImage
*) 0 ;
11242 byte
*arg2
= (byte
*) 0 ;
11243 byte
*arg3
= (byte
*) 0 ;
11244 byte
*arg4
= (byte
*) 0 ;
11245 byte arg5
= (byte
) 0 ;
11246 byte arg6
= (byte
) 0 ;
11247 byte arg7
= (byte
) 0 ;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 PyObject
* obj2
= 0 ;
11258 PyObject
* obj3
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11263 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11264 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11265 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11271 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11272 if (SWIG_arg_fail(5)) SWIG_fail
;
11277 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11278 if (SWIG_arg_fail(6)) SWIG_fail
;
11283 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11284 if (SWIG_arg_fail(7)) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11298 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11299 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11300 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11301 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11302 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11309 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxImage
*arg1
= (wxImage
*) 0 ;
11312 byte arg2
= (byte
) 128 ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 char *kwnames
[] = {
11317 (char *) "self",(char *) "threshold", NULL
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11322 if (SWIG_arg_fail(1)) SWIG_fail
;
11325 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11326 if (SWIG_arg_fail(2)) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11345 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxImage
*arg1
= (wxImage
*) 0 ;
11348 unsigned char arg2
;
11349 unsigned char arg3
;
11350 unsigned char arg4
;
11352 PyObject
* obj0
= 0 ;
11353 PyObject
* obj1
= 0 ;
11354 PyObject
* obj2
= 0 ;
11355 PyObject
* obj3
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail
;
11364 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11365 if (SWIG_arg_fail(2)) SWIG_fail
;
11368 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11369 if (SWIG_arg_fail(3)) SWIG_fail
;
11372 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11373 if (SWIG_arg_fail(4)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11391 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxImage
*arg1
= (wxImage
*) 0 ;
11394 wxImage
*arg2
= 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 PyObject
* obj3
= 0 ;
11403 PyObject
* obj4
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11410 if (SWIG_arg_fail(1)) SWIG_fail
;
11412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11413 if (SWIG_arg_fail(2)) SWIG_fail
;
11414 if (arg2
== NULL
) {
11415 SWIG_null_ref("wxImage");
11417 if (SWIG_arg_fail(2)) SWIG_fail
;
11420 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11421 if (SWIG_arg_fail(3)) SWIG_fail
;
11424 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11425 if (SWIG_arg_fail(4)) SWIG_fail
;
11428 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11429 if (SWIG_arg_fail(5)) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11447 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxString
*arg1
= 0 ;
11451 bool temp1
= false ;
11452 PyObject
* obj0
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "name", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11459 arg1
= wxString_in_helper(obj0
);
11460 if (arg1
== NULL
) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11487 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxString
*arg1
= 0 ;
11490 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11492 bool temp1
= false ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "name",(char *) "type", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 arg1
= wxString_in_helper(obj0
);
11502 if (arg1
== NULL
) SWIG_fail
;
11507 arg2
= (long)(SWIG_As_long(obj1
));
11508 if (SWIG_arg_fail(2)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_int((int)(result
));
11535 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxImage
*arg1
= (wxImage
*) 0 ;
11538 wxString
*arg2
= 0 ;
11539 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11540 int arg4
= (int) -1 ;
11542 bool temp2
= false ;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 PyObject
* obj2
= 0 ;
11546 PyObject
* obj3
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail
;
11555 arg2
= wxString_in_helper(obj1
);
11556 if (arg2
== NULL
) SWIG_fail
;
11561 arg3
= (long)(SWIG_As_long(obj2
));
11562 if (SWIG_arg_fail(3)) SWIG_fail
;
11567 arg4
= (int)(SWIG_As_int(obj3
));
11568 if (SWIG_arg_fail(4)) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11595 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxImage
*arg1
= (wxImage
*) 0 ;
11598 wxString
*arg2
= 0 ;
11599 wxString
*arg3
= 0 ;
11600 int arg4
= (int) -1 ;
11602 bool temp2
= false ;
11603 bool temp3
= false ;
11604 PyObject
* obj0
= 0 ;
11605 PyObject
* obj1
= 0 ;
11606 PyObject
* obj2
= 0 ;
11607 PyObject
* obj3
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11614 if (SWIG_arg_fail(1)) SWIG_fail
;
11616 arg2
= wxString_in_helper(obj1
);
11617 if (arg2
== NULL
) SWIG_fail
;
11621 arg3
= wxString_in_helper(obj2
);
11622 if (arg3
== NULL
) SWIG_fail
;
11627 arg4
= (int)(SWIG_As_int(obj3
));
11628 if (SWIG_arg_fail(4)) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11663 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
;
11665 wxImage
*arg1
= (wxImage
*) 0 ;
11666 wxString
*arg2
= 0 ;
11669 bool temp2
= false ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 PyObject
* obj2
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "self",(char *) "name",(char *) "type", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11679 if (SWIG_arg_fail(1)) SWIG_fail
;
11681 arg2
= wxString_in_helper(obj1
);
11682 if (arg2
== NULL
) SWIG_fail
;
11686 arg3
= (int)(SWIG_As_int(obj2
));
11687 if (SWIG_arg_fail(3)) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11713 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxImage
*arg1
= (wxImage
*) 0 ;
11716 wxString
*arg2
= 0 ;
11717 wxString
*arg3
= 0 ;
11719 bool temp2
= false ;
11720 bool temp3
= false ;
11721 PyObject
* obj0
= 0 ;
11722 PyObject
* obj1
= 0 ;
11723 PyObject
* obj2
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11732 arg2
= wxString_in_helper(obj1
);
11733 if (arg2
== NULL
) SWIG_fail
;
11737 arg3
= wxString_in_helper(obj2
);
11738 if (arg3
== NULL
) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11773 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxInputStream
*arg1
= 0 ;
11777 wxPyInputStream
*temp1
;
11779 PyObject
* obj0
= 0 ;
11780 char *kwnames
[] = {
11781 (char *) "stream", NULL
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11786 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11787 arg1
= temp1
->m_wxis
;
11790 PyErr_Clear(); // clear the failure of the wxPyConvert above
11791 arg1
= wxPyCBInputStream_create(obj0
, false);
11792 if (arg1
== NULL
) {
11793 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (bool)wxImage::CanRead(*arg1
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11823 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxImage
*arg1
= (wxImage
*) 0 ;
11826 wxInputStream
*arg2
= 0 ;
11827 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11828 int arg4
= (int) -1 ;
11830 wxPyInputStream
*temp2
;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 PyObject
* obj2
= 0 ;
11835 PyObject
* obj3
= 0 ;
11836 char *kwnames
[] = {
11837 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11842 if (SWIG_arg_fail(1)) SWIG_fail
;
11844 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11845 arg2
= temp2
->m_wxis
;
11848 PyErr_Clear(); // clear the failure of the wxPyConvert above
11849 arg2
= wxPyCBInputStream_create(obj1
, false);
11850 if (arg2
== NULL
) {
11851 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11859 arg3
= (long)(SWIG_As_long(obj2
));
11860 if (SWIG_arg_fail(3)) SWIG_fail
;
11865 arg4
= (int)(SWIG_As_int(obj3
));
11866 if (SWIG_arg_fail(4)) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11893 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxImage
*arg1
= (wxImage
*) 0 ;
11896 wxInputStream
*arg2
= 0 ;
11897 wxString
*arg3
= 0 ;
11898 int arg4
= (int) -1 ;
11900 wxPyInputStream
*temp2
;
11902 bool temp3
= false ;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 PyObject
* obj2
= 0 ;
11906 PyObject
* obj3
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11913 if (SWIG_arg_fail(1)) SWIG_fail
;
11915 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11916 arg2
= temp2
->m_wxis
;
11919 PyErr_Clear(); // clear the failure of the wxPyConvert above
11920 arg2
= wxPyCBInputStream_create(obj1
, false);
11921 if (arg2
== NULL
) {
11922 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11929 arg3
= wxString_in_helper(obj2
);
11930 if (arg3
== NULL
) SWIG_fail
;
11935 arg4
= (int)(SWIG_As_int(obj3
));
11936 if (SWIG_arg_fail(4)) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11971 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxImage
*arg1
= (wxImage
*) 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11982 if (SWIG_arg_fail(1)) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (bool)(arg1
)->Ok();
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11999 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxImage
*arg1
= (wxImage
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12010 if (SWIG_arg_fail(1)) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= (int)(arg1
)->GetWidth();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_From_int((int)(result
));
12027 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxImage
*arg1
= (wxImage
*) 0 ;
12031 PyObject
* obj0
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (int)(arg1
)->GetHeight();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_From_int((int)(result
));
12055 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxImage
*arg1
= (wxImage
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= wxImage_GetSize(arg1
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 wxSize
* resultptr
;
12076 resultptr
= new wxSize((wxSize
&)(result
));
12077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12085 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxImage
*arg1
= (wxImage
*) 0 ;
12089 SwigValueWrapper
<wxImage
> result
;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self",(char *) "rect", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12099 if (SWIG_arg_fail(1)) SWIG_fail
;
12102 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 wxImage
* resultptr
;
12113 resultptr
= new wxImage((wxImage
&)(result
));
12114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12122 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxImage
*arg1
= (wxImage
*) 0 ;
12125 SwigValueWrapper
<wxImage
> result
;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12133 if (SWIG_arg_fail(1)) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (arg1
)->Copy();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 wxImage
* resultptr
;
12143 resultptr
= new wxImage((wxImage
&)(result
));
12144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12152 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxImage
*arg1
= (wxImage
*) 0 ;
12155 wxImage
*arg2
= 0 ;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 PyObject
* obj2
= 0 ;
12161 PyObject
* obj3
= 0 ;
12162 char *kwnames
[] = {
12163 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12168 if (SWIG_arg_fail(1)) SWIG_fail
;
12170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12171 if (SWIG_arg_fail(2)) SWIG_fail
;
12172 if (arg2
== NULL
) {
12173 SWIG_null_ref("wxImage");
12175 if (SWIG_arg_fail(2)) SWIG_fail
;
12178 arg3
= (int)(SWIG_As_int(obj2
));
12179 if (SWIG_arg_fail(3)) SWIG_fail
;
12182 arg4
= (int)(SWIG_As_int(obj3
));
12183 if (SWIG_arg_fail(4)) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 Py_INCREF(Py_None
); resultobj
= Py_None
;
12199 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxImage
*arg1
= (wxImage
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (PyObject
*)wxImage_GetData(arg1
);
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
;
12225 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxImage
*arg1
= (wxImage
*) 0 ;
12228 PyObject
*arg2
= (PyObject
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "data", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 wxImage_SetData(arg1
,arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxImage
*arg1
= (wxImage
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12264 if (SWIG_arg_fail(1)) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= result
;
12279 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxImage
*arg1
= (wxImage
*) 0 ;
12282 PyObject
*arg2
= (PyObject
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 PyObject
* obj1
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self",(char *) "data", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12291 if (SWIG_arg_fail(1)) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 wxImage_SetDataBuffer(arg1
,arg2
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 Py_INCREF(Py_None
); resultobj
= Py_None
;
12307 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxImage
*arg1
= (wxImage
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12318 if (SWIG_arg_fail(1)) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= result
;
12333 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxImage
*arg1
= (wxImage
*) 0 ;
12336 PyObject
*arg2
= (PyObject
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self",(char *) "data", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12345 if (SWIG_arg_fail(1)) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 wxImage_SetAlphaData(arg1
,arg2
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 Py_INCREF(Py_None
); resultobj
= Py_None
;
12361 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxImage
*arg1
= (wxImage
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12372 if (SWIG_arg_fail(1)) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= result
;
12387 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxImage
*arg1
= (wxImage
*) 0 ;
12390 PyObject
*arg2
= (PyObject
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 PyObject
* obj1
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "data", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 wxImage_SetAlphaBuffer(arg1
,arg2
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxImage
*arg1
= (wxImage
*) 0 ;
12418 unsigned char arg2
;
12419 unsigned char arg3
;
12420 unsigned char arg4
;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 PyObject
* obj2
= 0 ;
12424 PyObject
* obj3
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12431 if (SWIG_arg_fail(1)) SWIG_fail
;
12433 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12434 if (SWIG_arg_fail(2)) SWIG_fail
;
12437 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12438 if (SWIG_arg_fail(3)) SWIG_fail
;
12441 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12442 if (SWIG_arg_fail(4)) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxImage
*arg1
= (wxImage
*) 0 ;
12461 unsigned char result
;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12469 if (SWIG_arg_fail(1)) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (unsigned char)(arg1
)->GetMaskRed();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12486 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxImage
*arg1
= (wxImage
*) 0 ;
12489 unsigned char result
;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12497 if (SWIG_arg_fail(1)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (unsigned char)(arg1
)->GetMaskGreen();
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12514 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxImage
*arg1
= (wxImage
*) 0 ;
12517 unsigned char result
;
12518 PyObject
* obj0
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12525 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (unsigned char)(arg1
)->GetMaskBlue();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12542 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxImage
*arg1
= (wxImage
*) 0 ;
12545 bool arg2
= (bool) true ;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self",(char *) "mask", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12554 if (SWIG_arg_fail(1)) SWIG_fail
;
12557 arg2
= (bool)(SWIG_As_bool(obj1
));
12558 if (SWIG_arg_fail(2)) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 (arg1
)->SetMask(arg2
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 Py_INCREF(Py_None
); resultobj
= Py_None
;
12575 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxImage
*arg1
= (wxImage
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (bool)(arg1
)->HasMask();
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12603 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxImage
*arg1
= (wxImage
*) 0 ;
12607 wxPoint
*arg3
= 0 ;
12608 bool arg4
= (bool) true ;
12609 wxPoint
*arg5
= (wxPoint
*) NULL
;
12610 SwigValueWrapper
<wxImage
> result
;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 PyObject
* obj2
= 0 ;
12615 PyObject
* obj3
= 0 ;
12616 PyObject
* obj4
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail
;
12625 arg2
= (double)(SWIG_As_double(obj1
));
12626 if (SWIG_arg_fail(2)) SWIG_fail
;
12630 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12634 arg4
= (bool)(SWIG_As_bool(obj3
));
12635 if (SWIG_arg_fail(4)) SWIG_fail
;
12639 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12640 if (SWIG_arg_fail(5)) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12650 wxImage
* resultptr
;
12651 resultptr
= new wxImage((wxImage
&)(result
));
12652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12660 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxImage
*arg1
= (wxImage
*) 0 ;
12663 bool arg2
= (bool) true ;
12664 SwigValueWrapper
<wxImage
> result
;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self",(char *) "clockwise", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail
;
12676 arg2
= (bool)(SWIG_As_bool(obj1
));
12677 if (SWIG_arg_fail(2)) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (arg1
)->Rotate90(arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12688 wxImage
* resultptr
;
12689 resultptr
= new wxImage((wxImage
&)(result
));
12690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12698 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxImage
*arg1
= (wxImage
*) 0 ;
12701 bool arg2
= (bool) true ;
12702 SwigValueWrapper
<wxImage
> result
;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self",(char *) "horizontally", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12714 arg2
= (bool)(SWIG_As_bool(obj1
));
12715 if (SWIG_arg_fail(2)) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (arg1
)->Mirror(arg2
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 wxImage
* resultptr
;
12727 resultptr
= new wxImage((wxImage
&)(result
));
12728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12736 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxImage
*arg1
= (wxImage
*) 0 ;
12739 unsigned char arg2
;
12740 unsigned char arg3
;
12741 unsigned char arg4
;
12742 unsigned char arg5
;
12743 unsigned char arg6
;
12744 unsigned char arg7
;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 PyObject
* obj2
= 0 ;
12748 PyObject
* obj3
= 0 ;
12749 PyObject
* obj4
= 0 ;
12750 PyObject
* obj5
= 0 ;
12751 PyObject
* obj6
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12758 if (SWIG_arg_fail(1)) SWIG_fail
;
12760 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12761 if (SWIG_arg_fail(2)) SWIG_fail
;
12764 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12765 if (SWIG_arg_fail(3)) SWIG_fail
;
12768 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12769 if (SWIG_arg_fail(4)) SWIG_fail
;
12772 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12773 if (SWIG_arg_fail(5)) SWIG_fail
;
12776 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12777 if (SWIG_arg_fail(6)) SWIG_fail
;
12780 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12781 if (SWIG_arg_fail(7)) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 Py_INCREF(Py_None
); resultobj
= Py_None
;
12797 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxImage
*arg1
= (wxImage
*) 0 ;
12800 unsigned char arg2
;
12801 unsigned char arg3
;
12802 unsigned char arg4
;
12803 SwigValueWrapper
<wxImage
> result
;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 PyObject
* obj2
= 0 ;
12807 PyObject
* obj3
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12814 if (SWIG_arg_fail(1)) SWIG_fail
;
12816 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12817 if (SWIG_arg_fail(2)) SWIG_fail
;
12820 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12821 if (SWIG_arg_fail(3)) SWIG_fail
;
12824 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12825 if (SWIG_arg_fail(4)) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 wxImage
* resultptr
;
12836 resultptr
= new wxImage((wxImage
&)(result
));
12837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12845 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxImage
*arg1
= (wxImage
*) 0 ;
12848 wxString
*arg2
= 0 ;
12849 wxString
*arg3
= 0 ;
12850 bool temp2
= false ;
12851 bool temp3
= false ;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 PyObject
* obj2
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self",(char *) "name",(char *) "value", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12861 if (SWIG_arg_fail(1)) SWIG_fail
;
12863 arg2
= wxString_in_helper(obj1
);
12864 if (arg2
== NULL
) SWIG_fail
;
12868 arg3
= wxString_in_helper(obj2
);
12869 if (arg3
== NULL
) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 Py_INCREF(Py_None
); resultobj
= Py_None
;
12902 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxImage
*arg1
= (wxImage
*) 0 ;
12905 wxString
*arg2
= 0 ;
12907 bool temp2
= false ;
12908 PyObject
* obj0
= 0 ;
12909 PyObject
* obj1
= 0 ;
12910 PyObject
* obj2
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "self",(char *) "name",(char *) "value", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12917 if (SWIG_arg_fail(1)) SWIG_fail
;
12919 arg2
= wxString_in_helper(obj1
);
12920 if (arg2
== NULL
) SWIG_fail
;
12924 arg3
= (int)(SWIG_As_int(obj2
));
12925 if (SWIG_arg_fail(3)) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 Py_INCREF(Py_None
); resultobj
= Py_None
;
12949 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxImage
*arg1
= (wxImage
*) 0 ;
12952 wxString
*arg2
= 0 ;
12954 bool temp2
= false ;
12955 PyObject
* obj0
= 0 ;
12956 PyObject
* obj1
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self",(char *) "name", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12963 if (SWIG_arg_fail(1)) SWIG_fail
;
12965 arg2
= wxString_in_helper(obj1
);
12966 if (arg2
== NULL
) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12997 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxImage
*arg1
= (wxImage
*) 0 ;
13000 wxString
*arg2
= 0 ;
13002 bool temp2
= false ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "name", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13011 if (SWIG_arg_fail(1)) SWIG_fail
;
13013 arg2
= wxString_in_helper(obj1
);
13014 if (arg2
== NULL
) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_From_int((int)(result
));
13041 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxImage
*arg1
= (wxImage
*) 0 ;
13044 wxString
*arg2
= 0 ;
13046 bool temp2
= false ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self",(char *) "name", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13057 arg2
= wxString_in_helper(obj1
);
13058 if (arg2
== NULL
) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13085 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxImage
*arg1
= (wxImage
*) 0 ;
13088 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13089 unsigned long result
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "stopafter", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail
;
13101 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13102 if (SWIG_arg_fail(2)) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13121 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxImage
*arg1
= (wxImage
*) 0 ;
13124 wxImageHistogram
*arg2
= 0 ;
13125 unsigned long result
;
13126 PyObject
* obj0
= 0 ;
13127 PyObject
* obj1
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "h", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13134 if (SWIG_arg_fail(1)) SWIG_fail
;
13136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13137 if (SWIG_arg_fail(2)) SWIG_fail
;
13138 if (arg2
== NULL
) {
13139 SWIG_null_ref("wxImageHistogram");
13141 if (SWIG_arg_fail(2)) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13159 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "handler", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13169 if (SWIG_arg_fail(1)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 wxImage::AddHandler(arg1
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13184 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "handler", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13194 if (SWIG_arg_fail(1)) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 wxImage::InsertHandler(arg1
);
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 Py_INCREF(Py_None
); resultobj
= Py_None
;
13209 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxString
*arg1
= 0 ;
13213 bool temp1
= false ;
13214 PyObject
* obj0
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "name", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13221 arg1
= wxString_in_helper(obj0
);
13222 if (arg1
== NULL
) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13249 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13252 char *kwnames
[] = {
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= wxImage::GetImageExtWildcard();
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13277 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxImage
*arg1
= (wxImage
*) 0 ;
13280 int arg2
= (int) -1 ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self",(char *) "depth", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13290 if (SWIG_arg_fail(1)) SWIG_fail
;
13293 arg2
= (int)(SWIG_As_int(obj1
));
13294 if (SWIG_arg_fail(2)) SWIG_fail
;
13298 if (!wxPyCheckForApp()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 wxBitmap
* resultptr
;
13307 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13316 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxImage
*arg1
= (wxImage
*) 0 ;
13319 unsigned char arg2
;
13320 unsigned char arg3
;
13321 unsigned char arg4
;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 PyObject
* obj2
= 0 ;
13326 PyObject
* obj3
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13333 if (SWIG_arg_fail(1)) SWIG_fail
;
13335 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13336 if (SWIG_arg_fail(2)) SWIG_fail
;
13339 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13340 if (SWIG_arg_fail(3)) SWIG_fail
;
13343 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13344 if (SWIG_arg_fail(4)) SWIG_fail
;
13347 if (!wxPyCheckForApp()) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13355 wxBitmap
* resultptr
;
13356 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13365 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13368 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13370 return Py_BuildValue((char *)"");
13372 static int _wrap_NullImage_set(PyObject
*) {
13373 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13378 static PyObject
*_wrap_NullImage_get(void) {
13381 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13386 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13387 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13392 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13397 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13399 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13406 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13407 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13412 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13417 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13419 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13426 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13427 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13432 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13437 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13439 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13446 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13447 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13452 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13457 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13459 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13466 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13467 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13472 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13477 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13479 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13486 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13487 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13492 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13497 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13499 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13506 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13507 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13512 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13517 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13519 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13526 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13527 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13532 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13537 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13539 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13546 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13547 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13552 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13557 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13559 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13566 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13567 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13572 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13577 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13579 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13586 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13587 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13592 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13597 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13599 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13606 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13607 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13612 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13617 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13619 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13626 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13627 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13632 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13637 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13639 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13646 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxBMPHandler
*result
;
13649 char *kwnames
[] = {
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (wxBMPHandler
*)new wxBMPHandler();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13668 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13671 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13673 return Py_BuildValue((char *)"");
13675 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxICOHandler
*result
;
13678 char *kwnames
[] = {
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (wxICOHandler
*)new wxICOHandler();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13697 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13700 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13702 return Py_BuildValue((char *)"");
13704 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxCURHandler
*result
;
13707 char *kwnames
[] = {
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (wxCURHandler
*)new wxCURHandler();
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13726 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13731 return Py_BuildValue((char *)"");
13733 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxANIHandler
*result
;
13736 char *kwnames
[] = {
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (wxANIHandler
*)new wxANIHandler();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13755 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13758 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13760 return Py_BuildValue((char *)"");
13762 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxPNGHandler
*result
;
13765 char *kwnames
[] = {
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (wxPNGHandler
*)new wxPNGHandler();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13784 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13787 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13789 return Py_BuildValue((char *)"");
13791 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxGIFHandler
*result
;
13794 char *kwnames
[] = {
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (wxGIFHandler
*)new wxGIFHandler();
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13813 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13816 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13818 return Py_BuildValue((char *)"");
13820 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxPCXHandler
*result
;
13823 char *kwnames
[] = {
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (wxPCXHandler
*)new wxPCXHandler();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13842 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13845 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13847 return Py_BuildValue((char *)"");
13849 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxJPEGHandler
*result
;
13852 char *kwnames
[] = {
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13871 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13874 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13876 return Py_BuildValue((char *)"");
13878 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxPNMHandler
*result
;
13881 char *kwnames
[] = {
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxPNMHandler
*)new wxPNMHandler();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13900 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13903 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13905 return Py_BuildValue((char *)"");
13907 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxXPMHandler
*result
;
13910 char *kwnames
[] = {
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (wxXPMHandler
*)new wxXPMHandler();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13929 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13932 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13934 return Py_BuildValue((char *)"");
13936 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxTIFFHandler
*result
;
13939 char *kwnames
[] = {
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13958 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13961 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13963 return Py_BuildValue((char *)"");
13965 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxImage
*arg1
= 0 ;
13968 wxImage
*arg2
= 0 ;
13969 int arg3
= (int) 236 ;
13970 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 PyObject
* obj2
= 0 ;
13975 PyObject
* obj3
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13983 if (SWIG_arg_fail(1)) SWIG_fail
;
13984 if (arg1
== NULL
) {
13985 SWIG_null_ref("wxImage");
13987 if (SWIG_arg_fail(1)) SWIG_fail
;
13990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13991 if (SWIG_arg_fail(2)) SWIG_fail
;
13992 if (arg2
== NULL
) {
13993 SWIG_null_ref("wxImage");
13995 if (SWIG_arg_fail(2)) SWIG_fail
;
13999 arg3
= (int)(SWIG_As_int(obj2
));
14000 if (SWIG_arg_fail(3)) SWIG_fail
;
14005 arg4
= (int)(SWIG_As_int(obj3
));
14006 if (SWIG_arg_fail(4)) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14025 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14028 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14030 return Py_BuildValue((char *)"");
14032 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxEvtHandler
*result
;
14035 char *kwnames
[] = {
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (wxEvtHandler
*)new wxEvtHandler();
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14054 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14057 wxEvtHandler
*result
;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14065 if (SWIG_arg_fail(1)) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= wxPyMake_wxObject(result
, 0);
14082 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14085 wxEvtHandler
*result
;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14093 if (SWIG_arg_fail(1)) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= wxPyMake_wxObject(result
, 0);
14110 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14113 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 PyObject
* obj1
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "handler", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14122 if (SWIG_arg_fail(1)) SWIG_fail
;
14123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14124 if (SWIG_arg_fail(2)) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 (arg1
)->SetNextHandler(arg2
);
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 Py_INCREF(Py_None
); resultobj
= Py_None
;
14139 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14142 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "handler", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14153 if (SWIG_arg_fail(2)) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 (arg1
)->SetPreviousHandler(arg2
);
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 Py_INCREF(Py_None
); resultobj
= Py_None
;
14168 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14179 if (SWIG_arg_fail(1)) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14196 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 char *kwnames
[] = {
14203 (char *) "self",(char *) "enabled", NULL
14206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14208 if (SWIG_arg_fail(1)) SWIG_fail
;
14210 arg2
= (bool)(SWIG_As_bool(obj1
));
14211 if (SWIG_arg_fail(2)) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 (arg1
)->SetEvtHandlerEnabled(arg2
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 Py_INCREF(Py_None
); resultobj
= Py_None
;
14227 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14230 wxEvent
*arg2
= 0 ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self",(char *) "event", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14240 if (SWIG_arg_fail(1)) SWIG_fail
;
14242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14243 if (SWIG_arg_fail(2)) SWIG_fail
;
14244 if (arg2
== NULL
) {
14245 SWIG_null_ref("wxEvent");
14247 if (SWIG_arg_fail(2)) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14265 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14268 wxEvent
*arg2
= 0 ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self",(char *) "event", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14277 if (SWIG_arg_fail(1)) SWIG_fail
;
14279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14280 if (SWIG_arg_fail(2)) SWIG_fail
;
14281 if (arg2
== NULL
) {
14282 SWIG_null_ref("wxEvent");
14284 if (SWIG_arg_fail(2)) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 (arg1
)->AddPendingEvent(*arg2
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 Py_INCREF(Py_None
); resultobj
= Py_None
;
14300 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14310 if (SWIG_arg_fail(1)) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 (arg1
)->ProcessPendingEvents();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 Py_INCREF(Py_None
); resultobj
= Py_None
;
14325 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14331 PyObject
*arg5
= (PyObject
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 PyObject
* obj1
= 0 ;
14334 PyObject
* obj2
= 0 ;
14335 PyObject
* obj3
= 0 ;
14336 PyObject
* obj4
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail
;
14345 arg2
= (int)(SWIG_As_int(obj1
));
14346 if (SWIG_arg_fail(2)) SWIG_fail
;
14349 arg3
= (int)(SWIG_As_int(obj2
));
14350 if (SWIG_arg_fail(3)) SWIG_fail
;
14353 arg4
= (int)(SWIG_As_int(obj3
));
14354 if (SWIG_arg_fail(4)) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 Py_INCREF(Py_None
); resultobj
= Py_None
;
14371 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14375 int arg3
= (int) -1 ;
14376 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 PyObject
* obj2
= 0 ;
14381 PyObject
* obj3
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14388 if (SWIG_arg_fail(1)) SWIG_fail
;
14390 arg2
= (int)(SWIG_As_int(obj1
));
14391 if (SWIG_arg_fail(2)) SWIG_fail
;
14395 arg3
= (int)(SWIG_As_int(obj2
));
14396 if (SWIG_arg_fail(3)) SWIG_fail
;
14401 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14402 if (SWIG_arg_fail(4)) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14421 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14424 PyObject
*arg2
= (PyObject
*) 0 ;
14425 bool arg3
= (bool) true ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 PyObject
* obj2
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self",(char *) "_self",(char *) "incref", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail
;
14439 arg3
= (bool)(SWIG_As_bool(obj2
));
14440 if (SWIG_arg_fail(3)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 Py_INCREF(Py_None
); resultobj
= Py_None
;
14457 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14460 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14462 return Py_BuildValue((char *)"");
14464 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxEventType result
;
14467 char *kwnames
[] = {
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (wxEventType
)wxNewEventType();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_From_int((int)(result
));
14488 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxEvent
*arg1
= (wxEvent
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14498 if (SWIG_arg_fail(1)) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 Py_INCREF(Py_None
); resultobj
= Py_None
;
14513 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxEvent
*arg1
= (wxEvent
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "typ", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail
;
14527 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14528 if (SWIG_arg_fail(2)) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 (arg1
)->SetEventType(arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 Py_INCREF(Py_None
); resultobj
= Py_None
;
14544 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxEvent
*arg1
= (wxEvent
*) 0 ;
14547 wxEventType result
;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14555 if (SWIG_arg_fail(1)) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= SWIG_From_int((int)(result
));
14572 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxEvent
*arg1
= (wxEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= wxPyMake_wxObject(result
, 0);
14600 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxEvent
*arg1
= (wxEvent
*) 0 ;
14603 wxObject
*arg2
= (wxObject
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 PyObject
* obj1
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self",(char *) "obj", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14612 if (SWIG_arg_fail(1)) SWIG_fail
;
14613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(2)) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 (arg1
)->SetEventObject(arg2
);
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 Py_INCREF(Py_None
); resultobj
= Py_None
;
14629 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxEvent
*arg1
= (wxEvent
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14640 if (SWIG_arg_fail(1)) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_From_long((long)(result
));
14657 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxEvent
*arg1
= (wxEvent
*) 0 ;
14660 long arg2
= (long) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self",(char *) "ts", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14669 if (SWIG_arg_fail(1)) SWIG_fail
;
14672 arg2
= (long)(SWIG_As_long(obj1
));
14673 if (SWIG_arg_fail(2)) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 (arg1
)->SetTimestamp(arg2
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 Py_INCREF(Py_None
); resultobj
= Py_None
;
14690 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxEvent
*arg1
= (wxEvent
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14701 if (SWIG_arg_fail(1)) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (int)((wxEvent
const *)arg1
)->GetId();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_From_int((int)(result
));
14718 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxEvent
*arg1
= (wxEvent
*) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self",(char *) "Id", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14730 if (SWIG_arg_fail(1)) SWIG_fail
;
14732 arg2
= (int)(SWIG_As_int(obj1
));
14733 if (SWIG_arg_fail(2)) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 (arg1
)->SetId(arg2
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 Py_INCREF(Py_None
); resultobj
= Py_None
;
14749 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxEvent
*arg1
= (wxEvent
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14760 if (SWIG_arg_fail(1)) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14777 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxEvent
*arg1
= (wxEvent
*) 0 ;
14780 bool arg2
= (bool) true ;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self",(char *) "skip", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14789 if (SWIG_arg_fail(1)) SWIG_fail
;
14792 arg2
= (bool)(SWIG_As_bool(obj1
));
14793 if (SWIG_arg_fail(2)) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 (arg1
)->Skip(arg2
);
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 Py_INCREF(Py_None
); resultobj
= Py_None
;
14810 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
;
14812 wxEvent
*arg1
= (wxEvent
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14821 if (SWIG_arg_fail(1)) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14838 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxEvent
*arg1
= (wxEvent
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14849 if (SWIG_arg_fail(1)) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14866 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxEvent
*arg1
= (wxEvent
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14877 if (SWIG_arg_fail(1)) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (int)(arg1
)->StopPropagation();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= SWIG_From_int((int)(result
));
14894 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxEvent
*arg1
= (wxEvent
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self",(char *) "propagationLevel", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail
;
14908 arg2
= (int)(SWIG_As_int(obj1
));
14909 if (SWIG_arg_fail(2)) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 (arg1
)->ResumePropagation(arg2
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 Py_INCREF(Py_None
); resultobj
= Py_None
;
14925 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxEvent
*arg1
= (wxEvent
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxEvent
*)(arg1
)->Clone();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14951 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14954 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14956 return Py_BuildValue((char *)"");
14958 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxEvent
*arg1
= 0 ;
14961 wxPropagationDisabler
*result
;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "event", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14970 if (SWIG_arg_fail(1)) SWIG_fail
;
14971 if (arg1
== NULL
) {
14972 SWIG_null_ref("wxEvent");
14974 if (SWIG_arg_fail(1)) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14990 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15018 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15020 return Py_BuildValue((char *)"");
15022 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxEvent
*arg1
= 0 ;
15025 wxPropagateOnce
*result
;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "event", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15035 if (arg1
== NULL
) {
15036 SWIG_null_ref("wxEvent");
15038 if (SWIG_arg_fail(1)) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15054 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15082 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15084 return Py_BuildValue((char *)"");
15086 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15089 int arg2
= (int) 0 ;
15090 wxCommandEvent
*result
;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "commandType",(char *) "winid", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15101 if (SWIG_arg_fail(1)) SWIG_fail
;
15106 arg2
= (int)(SWIG_As_int(obj1
));
15107 if (SWIG_arg_fail(2)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15124 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15135 if (SWIG_arg_fail(1)) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_From_int((int)(result
));
15152 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15155 wxString
*arg2
= 0 ;
15156 bool temp2
= false ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "s", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15165 if (SWIG_arg_fail(1)) SWIG_fail
;
15167 arg2
= wxString_in_helper(obj1
);
15168 if (arg2
== NULL
) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 (arg1
)->SetString((wxString
const &)*arg2
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 Py_INCREF(Py_None
); resultobj
= Py_None
;
15193 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15204 if (SWIG_arg_fail(1)) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15225 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15236 if (SWIG_arg_fail(1)) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15253 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15281 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 PyObject
* obj1
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "extraLong", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15293 if (SWIG_arg_fail(1)) SWIG_fail
;
15295 arg2
= (long)(SWIG_As_long(obj1
));
15296 if (SWIG_arg_fail(2)) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 (arg1
)->SetExtraLong(arg2
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15323 if (SWIG_arg_fail(1)) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= SWIG_From_long((long)(result
));
15340 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self",(char *) "i", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail
;
15354 arg2
= (int)(SWIG_As_int(obj1
));
15355 if (SWIG_arg_fail(2)) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 (arg1
)->SetInt(arg2
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 Py_INCREF(Py_None
); resultobj
= Py_None
;
15371 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= SWIG_From_long((long)(result
));
15399 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15425 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15428 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15430 return Py_BuildValue((char *)"");
15432 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15435 int arg2
= (int) 0 ;
15436 wxNotifyEvent
*result
;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "commandType",(char *) "winid", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15446 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15447 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 arg2
= (int)(SWIG_As_int(obj1
));
15453 if (SWIG_arg_fail(2)) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15470 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15480 if (SWIG_arg_fail(1)) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 Py_INCREF(Py_None
); resultobj
= Py_None
;
15495 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 Py_INCREF(Py_None
); resultobj
= Py_None
;
15520 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
;
15522 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15524 PyObject
* obj0
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15531 if (SWIG_arg_fail(1)) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (bool)(arg1
)->IsAllowed();
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15548 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15551 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15553 return Py_BuildValue((char *)"");
15555 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15558 int arg2
= (int) 0 ;
15559 int arg3
= (int) 0 ;
15560 int arg4
= (int) 0 ;
15561 wxScrollEvent
*result
;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 PyObject
* obj3
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15573 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15574 if (SWIG_arg_fail(1)) SWIG_fail
;
15579 arg2
= (int)(SWIG_As_int(obj1
));
15580 if (SWIG_arg_fail(2)) SWIG_fail
;
15585 arg3
= (int)(SWIG_As_int(obj2
));
15586 if (SWIG_arg_fail(3)) SWIG_fail
;
15591 arg4
= (int)(SWIG_As_int(obj3
));
15592 if (SWIG_arg_fail(4)) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15609 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15620 if (SWIG_arg_fail(1)) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_From_int((int)(result
));
15637 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_From_int((int)(result
));
15665 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self",(char *) "orient", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15677 if (SWIG_arg_fail(1)) SWIG_fail
;
15679 arg2
= (int)(SWIG_As_int(obj1
));
15680 if (SWIG_arg_fail(2)) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 (arg1
)->SetOrientation(arg2
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 Py_INCREF(Py_None
); resultobj
= Py_None
;
15696 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15700 PyObject
* obj0
= 0 ;
15701 PyObject
* obj1
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self",(char *) "pos", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15708 if (SWIG_arg_fail(1)) SWIG_fail
;
15710 arg2
= (int)(SWIG_As_int(obj1
));
15711 if (SWIG_arg_fail(2)) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 (arg1
)->SetPosition(arg2
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 Py_INCREF(Py_None
); resultobj
= Py_None
;
15727 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15730 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15732 return Py_BuildValue((char *)"");
15734 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15737 int arg2
= (int) 0 ;
15738 int arg3
= (int) 0 ;
15739 wxScrollWinEvent
*result
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15750 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15751 if (SWIG_arg_fail(1)) SWIG_fail
;
15756 arg2
= (int)(SWIG_As_int(obj1
));
15757 if (SWIG_arg_fail(2)) SWIG_fail
;
15762 arg3
= (int)(SWIG_As_int(obj2
));
15763 if (SWIG_arg_fail(3)) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15780 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15791 if (SWIG_arg_fail(1)) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_From_int((int)(result
));
15808 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15819 if (SWIG_arg_fail(1)) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= SWIG_From_int((int)(result
));
15836 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "orient", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15848 if (SWIG_arg_fail(1)) SWIG_fail
;
15850 arg2
= (int)(SWIG_As_int(obj1
));
15851 if (SWIG_arg_fail(2)) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetOrientation(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "pos", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15879 if (SWIG_arg_fail(1)) SWIG_fail
;
15881 arg2
= (int)(SWIG_As_int(obj1
));
15882 if (SWIG_arg_fail(2)) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 (arg1
)->SetPosition(arg2
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 Py_INCREF(Py_None
); resultobj
= Py_None
;
15898 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15901 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15903 return Py_BuildValue((char *)"");
15905 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15908 wxMouseEvent
*result
;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "mouseType", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15917 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15918 if (SWIG_arg_fail(1)) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= wxPyMake_wxObject(result
, 1);
15937 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15965 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15968 int arg2
= (int) wxMOUSE_BTN_ANY
;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self",(char *) "but", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15978 if (SWIG_arg_fail(1)) SWIG_fail
;
15981 arg2
= (int)(SWIG_As_int(obj1
));
15982 if (SWIG_arg_fail(2)) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16001 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16004 int arg2
= (int) wxMOUSE_BTN_ANY
;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self",(char *) "but", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail
;
16017 arg2
= (int)(SWIG_As_int(obj1
));
16018 if (SWIG_arg_fail(2)) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16037 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16040 int arg2
= (int) wxMOUSE_BTN_ANY
;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self",(char *) "but", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16050 if (SWIG_arg_fail(1)) SWIG_fail
;
16053 arg2
= (int)(SWIG_As_int(obj1
));
16054 if (SWIG_arg_fail(2)) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16073 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 PyObject
* obj1
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self",(char *) "but", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16086 if (SWIG_arg_fail(1)) SWIG_fail
;
16088 arg2
= (int)(SWIG_As_int(obj1
));
16089 if (SWIG_arg_fail(2)) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16107 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "but", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16120 if (SWIG_arg_fail(1)) SWIG_fail
;
16122 arg2
= (int)(SWIG_As_int(obj1
));
16123 if (SWIG_arg_fail(2)) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16141 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_From_int((int)(result
));
16169 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16180 if (SWIG_arg_fail(1)) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16197 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16201 PyObject
* obj0
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16208 if (SWIG_arg_fail(1)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16225 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16253 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16264 if (SWIG_arg_fail(1)) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16281 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16292 if (SWIG_arg_fail(1)) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16309 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16320 if (SWIG_arg_fail(1)) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16337 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16348 if (SWIG_arg_fail(1)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16365 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16376 if (SWIG_arg_fail(1)) SWIG_fail
;
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16393 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16397 PyObject
* obj0
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16404 if (SWIG_arg_fail(1)) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16421 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16432 if (SWIG_arg_fail(1)) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16449 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16460 if (SWIG_arg_fail(1)) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16488 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16505 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 char *kwnames
[] = {
16511 (char *) "self", NULL
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16516 if (SWIG_arg_fail(1)) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16544 if (SWIG_arg_fail(1)) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16561 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16572 if (SWIG_arg_fail(1)) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (bool)(arg1
)->LeftIsDown();
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16589 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16600 if (SWIG_arg_fail(1)) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (bool)(arg1
)->MiddleIsDown();
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16617 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16628 if (SWIG_arg_fail(1)) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= (bool)(arg1
)->RightIsDown();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16645 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16656 if (SWIG_arg_fail(1)) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16673 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16677 PyObject
* obj0
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16684 if (SWIG_arg_fail(1)) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16701 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16705 PyObject
* obj0
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16712 if (SWIG_arg_fail(1)) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16729 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16740 if (SWIG_arg_fail(1)) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16757 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16761 PyObject
* obj0
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "self", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16768 if (SWIG_arg_fail(1)) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (arg1
)->GetPosition();
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 wxPoint
* resultptr
;
16778 resultptr
= new wxPoint((wxPoint
&)(result
));
16779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16787 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16790 long *arg2
= (long *) 0 ;
16791 long *arg3
= (long *) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self", NULL
16801 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16802 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16805 if (SWIG_arg_fail(1)) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->GetPosition(arg2
,arg3
);
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 Py_INCREF(Py_None
); resultobj
= Py_None
;
16814 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16815 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16816 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16817 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16824 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self",(char *) "dc", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16837 if (SWIG_arg_fail(1)) SWIG_fail
;
16839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16840 if (SWIG_arg_fail(2)) SWIG_fail
;
16841 if (arg2
== NULL
) {
16842 SWIG_null_ref("wxDC");
16844 if (SWIG_arg_fail(2)) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 wxPoint
* resultptr
;
16855 resultptr
= new wxPoint((wxPoint
&)(result
));
16856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16864 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_From_int((int)(result
));
16892 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16903 if (SWIG_arg_fail(1)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= SWIG_From_int((int)(result
));
16920 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16931 if (SWIG_arg_fail(1)) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_From_int((int)(result
));
16948 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_From_int((int)(result
));
16976 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16987 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= SWIG_From_int((int)(result
));
17004 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17015 if (SWIG_arg_fail(1)) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17032 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self",(char *) "m_x", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17044 if (SWIG_arg_fail(1)) SWIG_fail
;
17046 arg2
= (int)(SWIG_As_int(obj1
));
17047 if (SWIG_arg_fail(2)) SWIG_fail
;
17049 if (arg1
) (arg1
)->m_x
= arg2
;
17051 Py_INCREF(Py_None
); resultobj
= Py_None
;
17058 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 result
= (int) ((arg1
)->m_x
);
17073 resultobj
= SWIG_From_int((int)(result
));
17081 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self",(char *) "m_y", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17093 if (SWIG_arg_fail(1)) SWIG_fail
;
17095 arg2
= (int)(SWIG_As_int(obj1
));
17096 if (SWIG_arg_fail(2)) SWIG_fail
;
17098 if (arg1
) (arg1
)->m_y
= arg2
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 result
= (int) ((arg1
)->m_y
);
17122 resultobj
= SWIG_From_int((int)(result
));
17130 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "m_leftDown", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17142 if (SWIG_arg_fail(1)) SWIG_fail
;
17144 arg2
= (bool)(SWIG_As_bool(obj1
));
17145 if (SWIG_arg_fail(2)) SWIG_fail
;
17147 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17167 if (SWIG_arg_fail(1)) SWIG_fail
;
17168 result
= (bool) ((arg1
)->m_leftDown
);
17171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17179 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self",(char *) "m_middleDown", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17191 if (SWIG_arg_fail(1)) SWIG_fail
;
17193 arg2
= (bool)(SWIG_As_bool(obj1
));
17194 if (SWIG_arg_fail(2)) SWIG_fail
;
17196 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17198 Py_INCREF(Py_None
); resultobj
= Py_None
;
17205 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17216 if (SWIG_arg_fail(1)) SWIG_fail
;
17217 result
= (bool) ((arg1
)->m_middleDown
);
17220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17228 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self",(char *) "m_rightDown", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17240 if (SWIG_arg_fail(1)) SWIG_fail
;
17242 arg2
= (bool)(SWIG_As_bool(obj1
));
17243 if (SWIG_arg_fail(2)) SWIG_fail
;
17245 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17247 Py_INCREF(Py_None
); resultobj
= Py_None
;
17254 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17265 if (SWIG_arg_fail(1)) SWIG_fail
;
17266 result
= (bool) ((arg1
)->m_rightDown
);
17269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17277 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "m_controlDown", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17291 arg2
= (bool)(SWIG_As_bool(obj1
));
17292 if (SWIG_arg_fail(2)) SWIG_fail
;
17294 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17314 if (SWIG_arg_fail(1)) SWIG_fail
;
17315 result
= (bool) ((arg1
)->m_controlDown
);
17318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17326 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self",(char *) "m_shiftDown", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail
;
17340 arg2
= (bool)(SWIG_As_bool(obj1
));
17341 if (SWIG_arg_fail(2)) SWIG_fail
;
17343 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17345 Py_INCREF(Py_None
); resultobj
= Py_None
;
17352 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17356 PyObject
* obj0
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 result
= (bool) ((arg1
)->m_shiftDown
);
17367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17375 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "m_altDown", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 arg2
= (bool)(SWIG_As_bool(obj1
));
17390 if (SWIG_arg_fail(2)) SWIG_fail
;
17392 if (arg1
) (arg1
)->m_altDown
= arg2
;
17394 Py_INCREF(Py_None
); resultobj
= Py_None
;
17401 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17413 result
= (bool) ((arg1
)->m_altDown
);
17416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17424 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "m_metaDown", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17436 if (SWIG_arg_fail(1)) SWIG_fail
;
17438 arg2
= (bool)(SWIG_As_bool(obj1
));
17439 if (SWIG_arg_fail(2)) SWIG_fail
;
17441 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17450 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail
;
17462 result
= (bool) ((arg1
)->m_metaDown
);
17465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17473 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "m_wheelRotation", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17485 if (SWIG_arg_fail(1)) SWIG_fail
;
17487 arg2
= (int)(SWIG_As_int(obj1
));
17488 if (SWIG_arg_fail(2)) SWIG_fail
;
17490 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(1)) SWIG_fail
;
17511 result
= (int) ((arg1
)->m_wheelRotation
);
17514 resultobj
= SWIG_From_int((int)(result
));
17522 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "m_wheelDelta", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 arg2
= (int)(SWIG_As_int(obj1
));
17537 if (SWIG_arg_fail(2)) SWIG_fail
;
17539 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17541 Py_INCREF(Py_None
); resultobj
= Py_None
;
17548 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17559 if (SWIG_arg_fail(1)) SWIG_fail
;
17560 result
= (int) ((arg1
)->m_wheelDelta
);
17563 resultobj
= SWIG_From_int((int)(result
));
17571 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "m_linesPerAction", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail
;
17585 arg2
= (int)(SWIG_As_int(obj1
));
17586 if (SWIG_arg_fail(2)) SWIG_fail
;
17588 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17590 Py_INCREF(Py_None
); resultobj
= Py_None
;
17597 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17608 if (SWIG_arg_fail(1)) SWIG_fail
;
17609 result
= (int) ((arg1
)->m_linesPerAction
);
17612 resultobj
= SWIG_From_int((int)(result
));
17620 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17623 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17625 return Py_BuildValue((char *)"");
17627 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 int arg1
= (int) 0 ;
17630 int arg2
= (int) 0 ;
17631 wxSetCursorEvent
*result
;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "x",(char *) "y", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17641 arg1
= (int)(SWIG_As_int(obj0
));
17642 if (SWIG_arg_fail(1)) SWIG_fail
;
17647 arg2
= (int)(SWIG_As_int(obj1
));
17648 if (SWIG_arg_fail(2)) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17665 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17669 PyObject
* obj0
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17676 if (SWIG_arg_fail(1)) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_From_int((int)(result
));
17693 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17704 if (SWIG_arg_fail(1)) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_From_int((int)(result
));
17721 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17724 wxCursor
*arg2
= 0 ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self",(char *) "cursor", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17733 if (SWIG_arg_fail(1)) SWIG_fail
;
17735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17736 if (SWIG_arg_fail(2)) SWIG_fail
;
17737 if (arg2
== NULL
) {
17738 SWIG_null_ref("wxCursor");
17740 if (SWIG_arg_fail(2)) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 Py_INCREF(Py_None
); resultobj
= Py_None
;
17756 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17767 if (SWIG_arg_fail(1)) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17772 result
= (wxCursor
*) &_result_ref
;
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 wxCursor
* resultptr
= new wxCursor(*result
);
17780 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17788 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17799 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17816 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17819 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17821 return Py_BuildValue((char *)"");
17823 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17826 wxKeyEvent
*result
;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "keyType", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17835 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17836 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17853 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17864 if (SWIG_arg_fail(1)) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17881 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17885 PyObject
* obj0
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17909 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17937 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17948 if (SWIG_arg_fail(1)) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17965 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17976 if (SWIG_arg_fail(1)) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17993 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18004 if (SWIG_arg_fail(1)) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18021 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18032 if (SWIG_arg_fail(1)) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_From_int((int)(result
));
18049 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18060 if (SWIG_arg_fail(1)) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_From_int((int)(result
));
18077 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18080 unsigned int result
;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18105 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18108 unsigned int result
;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18116 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18133 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18144 if (SWIG_arg_fail(1)) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (arg1
)->GetPosition();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18153 wxPoint
* resultptr
;
18154 resultptr
= new wxPoint((wxPoint
&)(result
));
18155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18163 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18166 long *arg2
= (long *) 0 ;
18167 long *arg3
= (long *) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self", NULL
18177 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18178 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18181 if (SWIG_arg_fail(1)) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->GetPosition(arg2
,arg3
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18191 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18192 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18193 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18200 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= SWIG_From_int((int)(result
));
18228 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_From_int((int)(result
));
18256 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 PyObject
* obj1
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self",(char *) "m_x", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail
;
18270 arg2
= (int)(SWIG_As_int(obj1
));
18271 if (SWIG_arg_fail(2)) SWIG_fail
;
18273 if (arg1
) (arg1
)->m_x
= arg2
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18282 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18294 result
= (int) ((arg1
)->m_x
);
18297 resultobj
= SWIG_From_int((int)(result
));
18305 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self",(char *) "m_y", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18317 if (SWIG_arg_fail(1)) SWIG_fail
;
18319 arg2
= (int)(SWIG_As_int(obj1
));
18320 if (SWIG_arg_fail(2)) SWIG_fail
;
18322 if (arg1
) (arg1
)->m_y
= arg2
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18331 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail
;
18343 result
= (int) ((arg1
)->m_y
);
18346 resultobj
= SWIG_From_int((int)(result
));
18354 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "m_keyCode", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18366 if (SWIG_arg_fail(1)) SWIG_fail
;
18368 arg2
= (long)(SWIG_As_long(obj1
));
18369 if (SWIG_arg_fail(2)) SWIG_fail
;
18371 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18373 Py_INCREF(Py_None
); resultobj
= Py_None
;
18380 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail
;
18392 result
= (long) ((arg1
)->m_keyCode
);
18395 resultobj
= SWIG_From_long((long)(result
));
18403 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "m_controlDown", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18415 if (SWIG_arg_fail(1)) SWIG_fail
;
18417 arg2
= (bool)(SWIG_As_bool(obj1
));
18418 if (SWIG_arg_fail(2)) SWIG_fail
;
18420 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18422 Py_INCREF(Py_None
); resultobj
= Py_None
;
18429 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18441 result
= (bool) ((arg1
)->m_controlDown
);
18444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18452 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "m_shiftDown", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 arg2
= (bool)(SWIG_As_bool(obj1
));
18467 if (SWIG_arg_fail(2)) SWIG_fail
;
18469 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18471 Py_INCREF(Py_None
); resultobj
= Py_None
;
18478 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18489 if (SWIG_arg_fail(1)) SWIG_fail
;
18490 result
= (bool) ((arg1
)->m_shiftDown
);
18493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18501 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self",(char *) "m_altDown", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail
;
18515 arg2
= (bool)(SWIG_As_bool(obj1
));
18516 if (SWIG_arg_fail(2)) SWIG_fail
;
18518 if (arg1
) (arg1
)->m_altDown
= arg2
;
18520 Py_INCREF(Py_None
); resultobj
= Py_None
;
18527 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail
;
18539 result
= (bool) ((arg1
)->m_altDown
);
18542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18550 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "m_metaDown", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18562 if (SWIG_arg_fail(1)) SWIG_fail
;
18564 arg2
= (bool)(SWIG_As_bool(obj1
));
18565 if (SWIG_arg_fail(2)) SWIG_fail
;
18567 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18569 Py_INCREF(Py_None
); resultobj
= Py_None
;
18576 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail
;
18588 result
= (bool) ((arg1
)->m_metaDown
);
18591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18599 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self",(char *) "m_scanCode", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18613 arg2
= (bool)(SWIG_As_bool(obj1
));
18614 if (SWIG_arg_fail(2)) SWIG_fail
;
18616 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18618 Py_INCREF(Py_None
); resultobj
= Py_None
;
18625 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18637 result
= (bool) ((arg1
)->m_scanCode
);
18640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18648 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18651 unsigned int arg2
;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self",(char *) "m_rawCode", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail
;
18662 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18663 if (SWIG_arg_fail(2)) SWIG_fail
;
18665 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18677 unsigned int result
;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail
;
18686 result
= (unsigned int) ((arg1
)->m_rawCode
);
18689 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18697 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18700 unsigned int arg2
;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self",(char *) "m_rawFlags", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18709 if (SWIG_arg_fail(1)) SWIG_fail
;
18711 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18712 if (SWIG_arg_fail(2)) SWIG_fail
;
18714 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18716 Py_INCREF(Py_None
); resultobj
= Py_None
;
18723 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18726 unsigned int result
;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18734 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18738 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18746 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18749 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18751 return Py_BuildValue((char *)"");
18753 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18756 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18757 int arg2
= (int) 0 ;
18758 wxSizeEvent
*result
;
18760 PyObject
* obj0
= 0 ;
18761 PyObject
* obj1
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "sz",(char *) "winid", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18775 arg2
= (int)(SWIG_As_int(obj1
));
18776 if (SWIG_arg_fail(2)) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18793 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18804 if (SWIG_arg_fail(1)) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 wxSize
* resultptr
;
18814 resultptr
= new wxSize((wxSize
&)(result
));
18815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18823 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18843 wxRect
* resultptr
;
18844 resultptr
= new wxRect((wxRect
&)(result
));
18845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18853 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self",(char *) "rect", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18865 if (SWIG_arg_fail(1)) SWIG_fail
;
18868 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18869 if (SWIG_arg_fail(2)) SWIG_fail
;
18870 if (argp
== NULL
) {
18871 SWIG_null_ref("wxRect");
18873 if (SWIG_arg_fail(2)) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->SetRect(arg2
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 Py_INCREF(Py_None
); resultobj
= Py_None
;
18890 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "size", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18902 if (SWIG_arg_fail(1)) SWIG_fail
;
18905 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18906 if (SWIG_arg_fail(2)) SWIG_fail
;
18907 if (argp
== NULL
) {
18908 SWIG_null_ref("wxSize");
18910 if (SWIG_arg_fail(2)) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 wxSizeEvent_SetSize(arg1
,arg2
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 Py_INCREF(Py_None
); resultobj
= Py_None
;
18927 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18930 wxSize
*arg2
= (wxSize
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 PyObject
* obj1
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self",(char *) "m_size", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18939 if (SWIG_arg_fail(1)) SWIG_fail
;
18940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18941 if (SWIG_arg_fail(2)) SWIG_fail
;
18942 if (arg1
) (arg1
)->m_size
= *arg2
;
18944 Py_INCREF(Py_None
); resultobj
= Py_None
;
18951 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18962 if (SWIG_arg_fail(1)) SWIG_fail
;
18963 result
= (wxSize
*)& ((arg1
)->m_size
);
18965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18972 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
;
18974 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18975 wxRect
*arg2
= (wxRect
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 PyObject
* obj1
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "m_rect", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18984 if (SWIG_arg_fail(1)) SWIG_fail
;
18985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18986 if (SWIG_arg_fail(2)) SWIG_fail
;
18987 if (arg1
) (arg1
)->m_rect
= *arg2
;
18989 Py_INCREF(Py_None
); resultobj
= Py_None
;
18996 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19000 PyObject
* obj0
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19007 if (SWIG_arg_fail(1)) SWIG_fail
;
19008 result
= (wxRect
*)& ((arg1
)->m_rect
);
19010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19017 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19020 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19022 return Py_BuildValue((char *)"");
19024 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19027 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19028 int arg2
= (int) 0 ;
19029 wxMoveEvent
*result
;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "pos",(char *) "winid", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19046 arg2
= (int)(SWIG_As_int(obj1
));
19047 if (SWIG_arg_fail(2)) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19064 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19075 if (SWIG_arg_fail(1)) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19084 wxPoint
* resultptr
;
19085 resultptr
= new wxPoint((wxPoint
&)(result
));
19086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19094 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19098 PyObject
* obj0
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19105 if (SWIG_arg_fail(1)) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 wxRect
* resultptr
;
19115 resultptr
= new wxRect((wxRect
&)(result
));
19116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19124 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "rect", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19137 if (SWIG_arg_fail(1)) SWIG_fail
;
19140 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->SetRect((wxRect
const &)*arg2
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19156 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19159 wxPoint
*arg2
= 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "pos", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19169 if (SWIG_arg_fail(1)) SWIG_fail
;
19172 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 Py_INCREF(Py_None
); resultobj
= Py_None
;
19188 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19191 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19193 return Py_BuildValue((char *)"");
19195 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 int arg1
= (int) 0 ;
19198 wxPaintEvent
*result
;
19199 PyObject
* obj0
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "Id", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19207 arg1
= (int)(SWIG_As_int(obj0
));
19208 if (SWIG_arg_fail(1)) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19225 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19228 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19230 return Py_BuildValue((char *)"");
19232 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 int arg1
= (int) 0 ;
19235 wxNcPaintEvent
*result
;
19236 PyObject
* obj0
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "winid", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19244 arg1
= (int)(SWIG_As_int(obj0
));
19245 if (SWIG_arg_fail(1)) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19262 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19265 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19267 return Py_BuildValue((char *)"");
19269 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 int arg1
= (int) 0 ;
19272 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19273 wxEraseEvent
*result
;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "Id",(char *) "dc", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19283 arg1
= (int)(SWIG_As_int(obj0
));
19284 if (SWIG_arg_fail(1)) SWIG_fail
;
19288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19289 if (SWIG_arg_fail(2)) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19305 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= wxPyMake_wxObject(result
, 0);
19333 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19336 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19338 return Py_BuildValue((char *)"");
19340 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19343 int arg2
= (int) 0 ;
19344 wxFocusEvent
*result
;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "type",(char *) "winid", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19354 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19355 if (SWIG_arg_fail(1)) SWIG_fail
;
19360 arg2
= (int)(SWIG_As_int(obj1
));
19361 if (SWIG_arg_fail(2)) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19378 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19389 if (SWIG_arg_fail(1)) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= wxPyMake_wxObject(result
, 0);
19406 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19409 wxWindow
*arg2
= (wxWindow
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "win", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19418 if (SWIG_arg_fail(1)) SWIG_fail
;
19419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19420 if (SWIG_arg_fail(2)) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetWindow(arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19438 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19440 return Py_BuildValue((char *)"");
19442 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxWindow
*arg1
= (wxWindow
*) NULL
;
19445 wxChildFocusEvent
*result
;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "win", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19454 if (SWIG_arg_fail(1)) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19470 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19474 PyObject
* obj0
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19481 if (SWIG_arg_fail(1)) SWIG_fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= wxPyMake_wxObject(result
, 0);
19498 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19501 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19503 return Py_BuildValue((char *)"");
19505 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19508 bool arg2
= (bool) true ;
19509 int arg3
= (int) 0 ;
19510 wxActivateEvent
*result
;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 PyObject
* obj2
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "type",(char *) "active",(char *) "Id", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19521 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19522 if (SWIG_arg_fail(1)) SWIG_fail
;
19527 arg2
= (bool)(SWIG_As_bool(obj1
));
19528 if (SWIG_arg_fail(2)) SWIG_fail
;
19533 arg3
= (int)(SWIG_As_int(obj2
));
19534 if (SWIG_arg_fail(3)) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19551 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
;
19553 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19555 PyObject
* obj0
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19562 if (SWIG_arg_fail(1)) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19579 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19582 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19584 return Py_BuildValue((char *)"");
19586 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 int arg1
= (int) 0 ;
19589 wxInitDialogEvent
*result
;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "Id", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19598 arg1
= (int)(SWIG_As_int(obj0
));
19599 if (SWIG_arg_fail(1)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19616 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19619 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19621 return Py_BuildValue((char *)"");
19623 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19626 int arg2
= (int) 0 ;
19627 wxMenu
*arg3
= (wxMenu
*) NULL
;
19628 wxMenuEvent
*result
;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 PyObject
* obj2
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "type",(char *) "winid",(char *) "menu", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19639 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19640 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 arg2
= (int)(SWIG_As_int(obj1
));
19646 if (SWIG_arg_fail(2)) SWIG_fail
;
19650 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19651 if (SWIG_arg_fail(3)) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19667 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= SWIG_From_int((int)(result
));
19695 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19723 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= wxPyMake_wxObject(result
, 0);
19751 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19754 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19756 return Py_BuildValue((char *)"");
19758 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19761 int arg2
= (int) 0 ;
19762 wxCloseEvent
*result
;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "type",(char *) "winid", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19772 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19773 if (SWIG_arg_fail(1)) SWIG_fail
;
19778 arg2
= (int)(SWIG_As_int(obj1
));
19779 if (SWIG_arg_fail(2)) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19796 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self",(char *) "logOff", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 arg2
= (bool)(SWIG_As_bool(obj1
));
19811 if (SWIG_arg_fail(2)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 (arg1
)->SetLoggingOff(arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 Py_INCREF(Py_None
); resultobj
= Py_None
;
19827 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19838 if (SWIG_arg_fail(1)) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19855 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19858 bool arg2
= (bool) true ;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "veto", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19867 if (SWIG_arg_fail(1)) SWIG_fail
;
19870 arg2
= (bool)(SWIG_As_bool(obj1
));
19871 if (SWIG_arg_fail(2)) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 (arg1
)->Veto(arg2
);
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 Py_INCREF(Py_None
); resultobj
= Py_None
;
19888 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self",(char *) "canVeto", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail
;
19902 arg2
= (bool)(SWIG_As_bool(obj1
));
19903 if (SWIG_arg_fail(2)) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 (arg1
)->SetCanVeto(arg2
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 Py_INCREF(Py_None
); resultobj
= Py_None
;
19919 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
;
19921 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19923 PyObject
* obj0
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19930 if (SWIG_arg_fail(1)) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19947 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19958 if (SWIG_arg_fail(1)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19978 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19980 return Py_BuildValue((char *)"");
19982 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 int arg1
= (int) 0 ;
19985 bool arg2
= (bool) false ;
19986 wxShowEvent
*result
;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "winid",(char *) "show", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19996 arg1
= (int)(SWIG_As_int(obj0
));
19997 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 arg2
= (bool)(SWIG_As_bool(obj1
));
20003 if (SWIG_arg_fail(2)) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20020 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self",(char *) "show", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20032 if (SWIG_arg_fail(1)) SWIG_fail
;
20034 arg2
= (bool)(SWIG_As_bool(obj1
));
20035 if (SWIG_arg_fail(2)) SWIG_fail
;
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 (arg1
)->SetShow(arg2
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 Py_INCREF(Py_None
); resultobj
= Py_None
;
20051 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
;
20053 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20055 PyObject
* obj0
= 0 ;
20056 char *kwnames
[] = {
20057 (char *) "self", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20062 if (SWIG_arg_fail(1)) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20079 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20082 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20084 return Py_BuildValue((char *)"");
20086 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 int arg1
= (int) 0 ;
20089 bool arg2
= (bool) true ;
20090 wxIconizeEvent
*result
;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "id",(char *) "iconized", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20100 arg1
= (int)(SWIG_As_int(obj0
));
20101 if (SWIG_arg_fail(1)) SWIG_fail
;
20106 arg2
= (bool)(SWIG_As_bool(obj1
));
20107 if (SWIG_arg_fail(2)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20124 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20128 PyObject
* obj0
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "self", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20135 if (SWIG_arg_fail(1)) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (bool)(arg1
)->Iconized();
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20152 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20155 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20157 return Py_BuildValue((char *)"");
20159 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 int arg1
= (int) 0 ;
20162 wxMaximizeEvent
*result
;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "id", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20171 arg1
= (int)(SWIG_As_int(obj0
));
20172 if (SWIG_arg_fail(1)) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20189 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20192 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20194 return Py_BuildValue((char *)"");
20196 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20207 if (SWIG_arg_fail(1)) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (arg1
)->GetPosition();
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 wxPoint
* resultptr
;
20217 resultptr
= new wxPoint((wxPoint
&)(result
));
20218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20226 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20237 if (SWIG_arg_fail(1)) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (int)(arg1
)->GetNumberOfFiles();
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_From_int((int)(result
));
20254 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= result
;
20280 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20283 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20285 return Py_BuildValue((char *)"");
20287 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 int arg1
= (int) 0 ;
20290 wxUpdateUIEvent
*result
;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "commandId", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20299 arg1
= (int)(SWIG_As_int(obj0
));
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20317 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20328 if (SWIG_arg_fail(1)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20345 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20384 if (SWIG_arg_fail(1)) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20405 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20416 if (SWIG_arg_fail(1)) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20433 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20444 if (SWIG_arg_fail(1)) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20461 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20465 PyObject
* obj0
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20472 if (SWIG_arg_fail(1)) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20489 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "check", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail
;
20503 arg2
= (bool)(SWIG_As_bool(obj1
));
20504 if (SWIG_arg_fail(2)) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 (arg1
)->Check(arg2
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 Py_INCREF(Py_None
); resultobj
= Py_None
;
20520 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self",(char *) "enable", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20532 if (SWIG_arg_fail(1)) SWIG_fail
;
20534 arg2
= (bool)(SWIG_As_bool(obj1
));
20535 if (SWIG_arg_fail(2)) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->Enable(arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20554 wxString
*arg2
= 0 ;
20555 bool temp2
= false ;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self",(char *) "text", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20564 if (SWIG_arg_fail(1)) SWIG_fail
;
20566 arg2
= wxString_in_helper(obj1
);
20567 if (arg2
== NULL
) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 (arg1
)->SetText((wxString
const &)*arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 Py_INCREF(Py_None
); resultobj
= Py_None
;
20592 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "updateInterval", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20602 arg1
= (long)(SWIG_As_long(obj0
));
20603 if (SWIG_arg_fail(1)) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 Py_INCREF(Py_None
); resultobj
= Py_None
;
20619 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20622 char *kwnames
[] = {
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_From_long((long)(result
));
20643 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxWindow
*arg1
= (wxWindow
*) 0 ;
20647 PyObject
* obj0
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "win", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20654 if (SWIG_arg_fail(1)) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20671 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 char *kwnames
[] = {
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 wxUpdateUIEvent::ResetUpdateTime();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 Py_INCREF(Py_None
); resultobj
= Py_None
;
20692 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxUpdateUIMode arg1
;
20695 PyObject
* obj0
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "mode", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20702 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20703 if (SWIG_arg_fail(1)) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 Py_INCREF(Py_None
); resultobj
= Py_None
;
20719 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxUpdateUIMode result
;
20722 char *kwnames
[] = {
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_From_int((result
));
20741 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20744 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20746 return Py_BuildValue((char *)"");
20748 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxSysColourChangedEvent
*result
;
20751 char *kwnames
[] = {
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20770 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20773 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20775 return Py_BuildValue((char *)"");
20777 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 int arg1
= (int) 0 ;
20780 wxWindow
*arg2
= (wxWindow
*) NULL
;
20781 wxMouseCaptureChangedEvent
*result
;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "winid",(char *) "gainedCapture", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 arg1
= (int)(SWIG_As_int(obj0
));
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20797 if (SWIG_arg_fail(2)) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20813 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= wxPyMake_wxObject(result
, 0);
20841 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20844 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20846 return Py_BuildValue((char *)"");
20848 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxDisplayChangedEvent
*result
;
20851 char *kwnames
[] = {
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20870 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20873 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20875 return Py_BuildValue((char *)"");
20877 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 int arg1
= (int) 0 ;
20880 wxPaletteChangedEvent
*result
;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "id", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20889 arg1
= (int)(SWIG_As_int(obj0
));
20890 if (SWIG_arg_fail(1)) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20907 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20910 wxWindow
*arg2
= (wxWindow
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self",(char *) "win", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail
;
20920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20921 if (SWIG_arg_fail(2)) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->SetChangedWindow(arg2
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 Py_INCREF(Py_None
); resultobj
= Py_None
;
20936 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= wxPyMake_wxObject(result
, 0);
20964 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20967 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20969 return Py_BuildValue((char *)"");
20971 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 int arg1
= (int) 0 ;
20974 wxQueryNewPaletteEvent
*result
;
20975 PyObject
* obj0
= 0 ;
20976 char *kwnames
[] = {
20977 (char *) "winid", NULL
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20983 arg1
= (int)(SWIG_As_int(obj0
));
20984 if (SWIG_arg_fail(1)) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21001 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self",(char *) "realized", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail
;
21015 arg2
= (bool)(SWIG_As_bool(obj1
));
21016 if (SWIG_arg_fail(2)) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->SetPaletteRealized(arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 Py_INCREF(Py_None
); resultobj
= Py_None
;
21032 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21036 PyObject
* obj0
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21043 if (SWIG_arg_fail(1)) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21060 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21063 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21065 return Py_BuildValue((char *)"");
21067 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxNavigationKeyEvent
*result
;
21070 char *kwnames
[] = {
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21089 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21100 if (SWIG_arg_fail(1)) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21117 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
;
21119 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21121 PyObject
* obj0
= 0 ;
21122 PyObject
* obj1
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "self",(char *) "forward", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21129 if (SWIG_arg_fail(1)) SWIG_fail
;
21131 arg2
= (bool)(SWIG_As_bool(obj1
));
21132 if (SWIG_arg_fail(2)) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 (arg1
)->SetDirection(arg2
);
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 Py_INCREF(Py_None
); resultobj
= Py_None
;
21148 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21159 if (SWIG_arg_fail(1)) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "ischange", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail
;
21190 arg2
= (bool)(SWIG_As_bool(obj1
));
21191 if (SWIG_arg_fail(2)) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 (arg1
)->SetWindowChange(arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 Py_INCREF(Py_None
); resultobj
= Py_None
;
21207 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21235 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "bIs", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21247 if (SWIG_arg_fail(1)) SWIG_fail
;
21249 arg2
= (bool)(SWIG_As_bool(obj1
));
21250 if (SWIG_arg_fail(2)) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 (arg1
)->SetFromTab(arg2
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 Py_INCREF(Py_None
); resultobj
= Py_None
;
21266 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self",(char *) "flags", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21278 if (SWIG_arg_fail(1)) SWIG_fail
;
21280 arg2
= (long)(SWIG_As_long(obj1
));
21281 if (SWIG_arg_fail(2)) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 (arg1
)->SetFlags(arg2
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21308 if (SWIG_arg_fail(1)) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= wxPyMake_wxObject(result
, 0);
21325 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21328 wxWindow
*arg2
= (wxWindow
*) 0 ;
21329 PyObject
* obj0
= 0 ;
21330 PyObject
* obj1
= 0 ;
21331 char *kwnames
[] = {
21332 (char *) "self",(char *) "win", NULL
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21337 if (SWIG_arg_fail(1)) SWIG_fail
;
21338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21339 if (SWIG_arg_fail(2)) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 (arg1
)->SetCurrentFocus(arg2
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 Py_INCREF(Py_None
); resultobj
= Py_None
;
21354 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21357 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21359 return Py_BuildValue((char *)"");
21361 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxWindow
*arg1
= (wxWindow
*) NULL
;
21364 wxWindowCreateEvent
*result
;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "win", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21373 if (SWIG_arg_fail(1)) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21389 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= wxPyMake_wxObject(result
, 0);
21417 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21420 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21422 return Py_BuildValue((char *)"");
21424 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxWindow
*arg1
= (wxWindow
*) NULL
;
21427 wxWindowDestroyEvent
*result
;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "win", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21436 if (SWIG_arg_fail(1)) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21452 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21463 if (SWIG_arg_fail(1)) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= wxPyMake_wxObject(result
, 0);
21480 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21483 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21485 return Py_BuildValue((char *)"");
21487 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
;
21489 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21490 int arg2
= (int) 0 ;
21491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21493 wxContextMenuEvent
*result
;
21495 PyObject
* obj0
= 0 ;
21496 PyObject
* obj1
= 0 ;
21497 PyObject
* obj2
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "type",(char *) "winid",(char *) "pt", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21505 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21506 if (SWIG_arg_fail(1)) SWIG_fail
;
21511 arg2
= (int)(SWIG_As_int(obj1
));
21512 if (SWIG_arg_fail(2)) SWIG_fail
;
21518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21535 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21551 result
= (wxPoint
*) &_result_ref
;
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21564 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21567 wxPoint
*arg2
= 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self",(char *) "pos", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail
;
21580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 Py_INCREF(Py_None
); resultobj
= Py_None
;
21596 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21599 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21601 return Py_BuildValue((char *)"");
21603 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxIdleEvent
*result
;
21606 char *kwnames
[] = {
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (wxIdleEvent
*)new wxIdleEvent();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21625 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21628 bool arg2
= (bool) true ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self",(char *) "needMore", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21637 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 arg2
= (bool)(SWIG_As_bool(obj1
));
21641 if (SWIG_arg_fail(2)) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->RequestMore(arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21689 PyObject
* obj0
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "mode", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21696 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21697 if (SWIG_arg_fail(1)) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 Py_INCREF(Py_None
); resultobj
= Py_None
;
21713 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21716 char *kwnames
[] = {
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= SWIG_From_int((result
));
21735 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21737 wxWindow
*arg1
= (wxWindow
*) 0 ;
21739 PyObject
* obj0
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "win", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= (bool)wxIdleEvent::CanSend(arg1
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21763 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21766 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21768 return Py_BuildValue((char *)"");
21770 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 int arg1
= (int) 0 ;
21773 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "winid",(char *) "commandType", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21784 arg1
= (int)(SWIG_As_int(obj0
));
21785 if (SWIG_arg_fail(1)) SWIG_fail
;
21790 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21791 if (SWIG_arg_fail(2)) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21808 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21818 if (SWIG_arg_fail(1)) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 Py_INCREF(Py_None
); resultobj
= Py_None
;
21833 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21836 PyObject
*arg2
= (PyObject
*) 0 ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "self", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21845 if (SWIG_arg_fail(1)) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 (arg1
)->SetSelf(arg2
);
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 Py_INCREF(Py_None
); resultobj
= Py_None
;
21861 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21865 PyObject
* obj0
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21872 if (SWIG_arg_fail(1)) SWIG_fail
;
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= (PyObject
*)(arg1
)->GetSelf();
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= result
;
21887 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21890 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21892 return Py_BuildValue((char *)"");
21894 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21897 int arg2
= (int) 0 ;
21898 wxPyCommandEvent
*result
;
21899 PyObject
* obj0
= 0 ;
21900 PyObject
* obj1
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "commandType",(char *) "id", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21908 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21909 if (SWIG_arg_fail(1)) SWIG_fail
;
21914 arg2
= (int)(SWIG_As_int(obj1
));
21915 if (SWIG_arg_fail(2)) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21932 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 Py_INCREF(Py_None
); resultobj
= Py_None
;
21957 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21960 PyObject
*arg2
= (PyObject
*) 0 ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "self", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21969 if (SWIG_arg_fail(1)) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 (arg1
)->SetSelf(arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 Py_INCREF(Py_None
); resultobj
= Py_None
;
21985 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21996 if (SWIG_arg_fail(1)) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (PyObject
*)(arg1
)->GetSelf();
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= result
;
22011 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22014 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22016 return Py_BuildValue((char *)"");
22018 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxWindow
*arg1
= (wxWindow
*) 0 ;
22021 wxDateTime
*arg2
= 0 ;
22023 wxDateEvent
*result
;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 PyObject
* obj2
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "win",(char *) "dt",(char *) "type", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22033 if (SWIG_arg_fail(1)) SWIG_fail
;
22035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(2)) SWIG_fail
;
22037 if (arg2
== NULL
) {
22038 SWIG_null_ref("wxDateTime");
22040 if (SWIG_arg_fail(2)) SWIG_fail
;
22043 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22044 if (SWIG_arg_fail(3)) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22060 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22063 wxDateTime
*result
;
22064 PyObject
* obj0
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22076 result
= (wxDateTime
*) &_result_ref
;
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22089 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
;
22091 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22092 wxDateTime
*arg2
= 0 ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self",(char *) "date", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22101 if (SWIG_arg_fail(1)) SWIG_fail
;
22103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22104 if (SWIG_arg_fail(2)) SWIG_fail
;
22105 if (arg2
== NULL
) {
22106 SWIG_null_ref("wxDateTime");
22108 if (SWIG_arg_fail(2)) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 Py_INCREF(Py_None
); resultobj
= Py_None
;
22124 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22127 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22129 return Py_BuildValue((char *)"");
22131 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22134 char *kwnames
[] = {
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (wxPyApp
*)new_wxPyApp();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22153 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22163 if (SWIG_arg_fail(1)) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 Py_INCREF(Py_None
); resultobj
= Py_None
;
22178 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22181 PyObject
*arg2
= (PyObject
*) 0 ;
22182 PyObject
*arg3
= (PyObject
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 PyObject
* obj2
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self",(char *) "self",(char *) "_class", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22192 if (SWIG_arg_fail(1)) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 Py_INCREF(Py_None
); resultobj
= Py_None
;
22209 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22241 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22244 wxString
*arg2
= 0 ;
22245 bool temp2
= false ;
22246 PyObject
* obj0
= 0 ;
22247 PyObject
* obj1
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self",(char *) "name", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22254 if (SWIG_arg_fail(1)) SWIG_fail
;
22256 arg2
= wxString_in_helper(obj1
);
22257 if (arg2
== NULL
) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 (arg1
)->SetAppName((wxString
const &)*arg2
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 Py_INCREF(Py_None
); resultobj
= Py_None
;
22282 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22286 PyObject
* obj0
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22293 if (SWIG_arg_fail(1)) SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22314 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22317 wxString
*arg2
= 0 ;
22318 bool temp2
= false ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "name", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 arg2
= wxString_in_helper(obj1
);
22330 if (arg2
== NULL
) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 (arg1
)->SetClassName((wxString
const &)*arg2
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22366 if (SWIG_arg_fail(1)) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22371 result
= (wxString
*) &_result_ref
;
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22381 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22390 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22393 wxString
*arg2
= 0 ;
22394 bool temp2
= false ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "name", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22403 if (SWIG_arg_fail(1)) SWIG_fail
;
22405 arg2
= wxString_in_helper(obj1
);
22406 if (arg2
== NULL
) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 Py_INCREF(Py_None
); resultobj
= Py_None
;
22431 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22434 wxAppTraits
*result
;
22435 PyObject
* obj0
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22442 if (SWIG_arg_fail(1)) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22457 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22467 if (SWIG_arg_fail(1)) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->ProcessPendingEvents();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 Py_INCREF(Py_None
); resultobj
= Py_None
;
22482 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22485 bool arg2
= (bool) false ;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self",(char *) "onlyIfNeeded", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail
;
22498 arg2
= (bool)(SWIG_As_bool(obj1
));
22499 if (SWIG_arg_fail(2)) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (bool)(arg1
)->Yield(arg2
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22528 if (SWIG_arg_fail(1)) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 (arg1
)->WakeUpIdle();
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 Py_INCREF(Py_None
); resultobj
= Py_None
;
22543 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22546 char *kwnames
[] = {
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (bool)wxPyApp::IsMainLoopRunning();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22567 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (int)(arg1
)->MainLoop();
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_From_int((int)(result
));
22595 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22598 PyObject
* obj0
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22605 if (SWIG_arg_fail(1)) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 Py_INCREF(Py_None
); resultobj
= Py_None
;
22620 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22623 PyObject
* obj0
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22630 if (SWIG_arg_fail(1)) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 (arg1
)->ExitMainLoop();
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 Py_INCREF(Py_None
); resultobj
= Py_None
;
22645 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22656 if (SWIG_arg_fail(1)) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= (bool)(arg1
)->Pending();
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22673 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22684 if (SWIG_arg_fail(1)) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (bool)(arg1
)->Dispatch();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22701 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22712 if (SWIG_arg_fail(1)) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= (bool)(arg1
)->ProcessIdle();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22729 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22732 wxWindow
*arg2
= (wxWindow
*) 0 ;
22733 wxIdleEvent
*arg3
= 0 ;
22735 PyObject
* obj0
= 0 ;
22736 PyObject
* obj1
= 0 ;
22737 PyObject
* obj2
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self",(char *) "win",(char *) "event", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(1)) SWIG_fail
;
22745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22746 if (SWIG_arg_fail(2)) SWIG_fail
;
22748 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22749 if (SWIG_arg_fail(3)) SWIG_fail
;
22750 if (arg3
== NULL
) {
22751 SWIG_null_ref("wxIdleEvent");
22753 if (SWIG_arg_fail(3)) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22771 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22782 if (SWIG_arg_fail(1)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22799 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22802 wxWindow
*arg2
= (wxWindow
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self",(char *) "win", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22813 if (SWIG_arg_fail(2)) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 (arg1
)->SetTopWindow(arg2
);
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 Py_INCREF(Py_None
); resultobj
= Py_None
;
22828 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22830 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22832 PyObject
* obj0
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= wxPyMake_wxObject(result
, 0);
22856 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self",(char *) "flag", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22868 if (SWIG_arg_fail(1)) SWIG_fail
;
22870 arg2
= (bool)(SWIG_As_bool(obj1
));
22871 if (SWIG_arg_fail(2)) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 (arg1
)->SetExitOnFrameDelete(arg2
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 Py_INCREF(Py_None
); resultobj
= Py_None
;
22887 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22915 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self",(char *) "flag", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail
;
22929 arg2
= (bool)(SWIG_As_bool(obj1
));
22930 if (SWIG_arg_fail(2)) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 (arg1
)->SetUseBestVisual(arg2
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22957 if (SWIG_arg_fail(1)) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22974 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 PyObject
* obj1
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self",(char *) "mode", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail
;
22988 arg2
= (int)(SWIG_As_int(obj1
));
22989 if (SWIG_arg_fail(2)) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 (arg1
)->SetPrintMode(arg2
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 Py_INCREF(Py_None
); resultobj
= Py_None
;
23005 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
;
23007 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23016 if (SWIG_arg_fail(1)) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_From_int((int)(result
));
23033 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self",(char *) "mode", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 arg2
= (int)(SWIG_As_int(obj1
));
23048 if (SWIG_arg_fail(2)) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 (arg1
)->SetAssertMode(arg2
);
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 Py_INCREF(Py_None
); resultobj
= Py_None
;
23064 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23068 PyObject
* obj0
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self", NULL
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23075 if (SWIG_arg_fail(1)) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (int)(arg1
)->GetAssertMode();
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23084 resultobj
= SWIG_From_int((int)(result
));
23092 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23095 char *kwnames
[] = {
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23116 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23119 char *kwnames
[] = {
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_From_long((long)(result
));
23140 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23143 char *kwnames
[] = {
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_From_long((long)(result
));
23164 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23167 char *kwnames
[] = {
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (long)wxPyApp::GetMacExitMenuItemId();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_From_long((long)(result
));
23188 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23191 char *kwnames
[] = {
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= wxPyApp::GetMacHelpMenuTitleName();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23216 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23219 PyObject
* obj0
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "val", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23226 arg1
= (bool)(SWIG_As_bool(obj0
));
23227 if (SWIG_arg_fail(1)) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 Py_INCREF(Py_None
); resultobj
= Py_None
;
23243 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23246 PyObject
* obj0
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "val", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23253 arg1
= (long)(SWIG_As_long(obj0
));
23254 if (SWIG_arg_fail(1)) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 wxPyApp::SetMacAboutMenuItemId(arg1
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 Py_INCREF(Py_None
); resultobj
= Py_None
;
23270 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "val", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23280 arg1
= (long)(SWIG_As_long(obj0
));
23281 if (SWIG_arg_fail(1)) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 Py_INCREF(Py_None
); resultobj
= Py_None
;
23297 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23300 PyObject
* obj0
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "val", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23307 arg1
= (long)(SWIG_As_long(obj0
));
23308 if (SWIG_arg_fail(1)) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 wxPyApp::SetMacExitMenuItemId(arg1
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 Py_INCREF(Py_None
); resultobj
= Py_None
;
23324 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxString
*arg1
= 0 ;
23327 bool temp1
= false ;
23328 PyObject
* obj0
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "val", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23335 arg1
= wxString_in_helper(obj0
);
23336 if (arg1
== NULL
) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 Py_INCREF(Py_None
); resultobj
= Py_None
;
23361 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23371 if (SWIG_arg_fail(1)) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 (arg1
)->_BootstrapApp();
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 Py_INCREF(Py_None
); resultobj
= Py_None
;
23386 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23389 char *kwnames
[] = {
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (int)wxPyApp::GetComCtl32Version();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= SWIG_From_int((int)(result
));
23410 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23413 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23415 return Py_BuildValue((char *)"");
23417 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 char *kwnames
[] = {
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 Py_INCREF(Py_None
); resultobj
= Py_None
;
23438 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23441 char *kwnames
[] = {
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (bool)wxYield();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23462 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23465 char *kwnames
[] = {
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (bool)wxYieldIfNeeded();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23486 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxWindow
*arg1
= (wxWindow
*) NULL
;
23489 bool arg2
= (bool) false ;
23491 PyObject
* obj0
= 0 ;
23492 PyObject
* obj1
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "win",(char *) "onlyIfNeeded", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail
;
23504 arg2
= (bool)(SWIG_As_bool(obj1
));
23505 if (SWIG_arg_fail(2)) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (bool)wxSafeYield(arg1
,arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23524 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 char *kwnames
[] = {
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 Py_INCREF(Py_None
); resultobj
= Py_None
;
23545 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
;
23547 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23548 wxEvent
*arg2
= 0 ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "dest",(char *) "event", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23557 if (SWIG_arg_fail(1)) SWIG_fail
;
23559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23560 if (SWIG_arg_fail(2)) SWIG_fail
;
23561 if (arg2
== NULL
) {
23562 SWIG_null_ref("wxEvent");
23564 if (SWIG_arg_fail(2)) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 wxPostEvent(arg1
,*arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 Py_INCREF(Py_None
); resultobj
= Py_None
;
23580 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 char *kwnames
[] = {
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23604 char *kwnames
[] = {
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= (wxPyApp
*)wxPyGetApp();
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= wxPyMake_wxObject(result
, 0);
23625 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 char *arg1
= (char *) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "encoding", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23634 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23635 SWIG_arg_fail(1);SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 wxSetDefaultPyEncoding((char const *)arg1
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 Py_INCREF(Py_None
); resultobj
= Py_None
;
23651 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23654 char *kwnames
[] = {
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (char *)wxGetDefaultPyEncoding();
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_FromCharPtr(result
);
23673 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxEventLoop
*result
;
23676 char *kwnames
[] = {
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (wxEventLoop
*)new wxEventLoop();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23695 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23705 if (SWIG_arg_fail(1)) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 Py_INCREF(Py_None
); resultobj
= Py_None
;
23720 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23724 PyObject
* obj0
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23731 if (SWIG_arg_fail(1)) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (int)(arg1
)->Run();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_From_int((int)(result
));
23748 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23751 int arg2
= (int) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "rc", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail
;
23763 arg2
= (int)(SWIG_As_int(obj1
));
23764 if (SWIG_arg_fail(2)) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 (arg1
)->Exit(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 Py_INCREF(Py_None
); resultobj
= Py_None
;
23781 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23792 if (SWIG_arg_fail(1)) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23820 if (SWIG_arg_fail(1)) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= (bool)(arg1
)->Dispatch();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23837 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23848 if (SWIG_arg_fail(1)) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23865 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxEventLoop
*result
;
23868 char *kwnames
[] = {
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23887 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
;
23889 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23890 PyObject
* obj0
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "loop", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23897 if (SWIG_arg_fail(1)) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 wxEventLoop::SetActive(arg1
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 Py_INCREF(Py_None
); resultobj
= Py_None
;
23912 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23915 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23917 return Py_BuildValue((char *)"");
23919 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 int arg1
= (int) 0 ;
23922 int arg2
= (int) 0 ;
23923 int arg3
= (int) 0 ;
23924 wxAcceleratorEntry
*result
;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 PyObject
* obj2
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23935 arg1
= (int)(SWIG_As_int(obj0
));
23936 if (SWIG_arg_fail(1)) SWIG_fail
;
23941 arg2
= (int)(SWIG_As_int(obj1
));
23942 if (SWIG_arg_fail(2)) SWIG_fail
;
23947 arg3
= (int)(SWIG_As_int(obj2
));
23948 if (SWIG_arg_fail(3)) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23965 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23968 PyObject
* obj0
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 Py_INCREF(Py_None
); resultobj
= Py_None
;
23990 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 PyObject
* obj3
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24006 if (SWIG_arg_fail(1)) SWIG_fail
;
24008 arg2
= (int)(SWIG_As_int(obj1
));
24009 if (SWIG_arg_fail(2)) SWIG_fail
;
24012 arg3
= (int)(SWIG_As_int(obj2
));
24013 if (SWIG_arg_fail(3)) SWIG_fail
;
24016 arg4
= (int)(SWIG_As_int(obj3
));
24017 if (SWIG_arg_fail(4)) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 (arg1
)->Set(arg2
,arg3
,arg4
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 Py_INCREF(Py_None
); resultobj
= Py_None
;
24033 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24034 PyObject
*resultobj
;
24035 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24037 PyObject
* obj0
= 0 ;
24038 char *kwnames
[] = {
24039 (char *) "self", NULL
24042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24044 if (SWIG_arg_fail(1)) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (int)(arg1
)->GetFlags();
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= SWIG_From_int((int)(result
));
24061 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
;
24063 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24072 if (SWIG_arg_fail(1)) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (int)(arg1
)->GetKeyCode();
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= SWIG_From_int((int)(result
));
24089 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24100 if (SWIG_arg_fail(1)) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (int)(arg1
)->GetCommand();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= SWIG_From_int((int)(result
));
24117 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24120 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24122 return Py_BuildValue((char *)"");
24124 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24127 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24128 wxAcceleratorTable
*result
;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24136 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24137 if (arg2
) arg1
= PyList_Size(obj0
);
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24160 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24213 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24216 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24218 return Py_BuildValue((char *)"");
24220 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24221 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24226 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24229 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24234 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxString
*arg1
= 0 ;
24237 wxAcceleratorEntry
*result
;
24238 bool temp1
= false ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "label", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24246 arg1
= wxString_in_helper(obj0
);
24247 if (arg1
== NULL
) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24272 static int _wrap_PanelNameStr_set(PyObject
*) {
24273 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24278 static PyObject
*_wrap_PanelNameStr_get(void) {
24283 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24285 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24292 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxVisualAttributes
*result
;
24295 char *kwnames
[] = {
24299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24314 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24324 if (SWIG_arg_fail(1)) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 delete_wxVisualAttributes(arg1
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24342 wxFont
*arg2
= (wxFont
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self",(char *) "font", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24351 if (SWIG_arg_fail(1)) SWIG_fail
;
24352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24353 if (SWIG_arg_fail(2)) SWIG_fail
;
24354 if (arg1
) (arg1
)->font
= *arg2
;
24356 Py_INCREF(Py_None
); resultobj
= Py_None
;
24363 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail
;
24375 result
= (wxFont
*)& ((arg1
)->font
);
24377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24384 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24387 wxColour
*arg2
= (wxColour
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 char *kwnames
[] = {
24391 (char *) "self",(char *) "colFg", NULL
24394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24396 if (SWIG_arg_fail(1)) SWIG_fail
;
24397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24398 if (SWIG_arg_fail(2)) SWIG_fail
;
24399 if (arg1
) (arg1
)->colFg
= *arg2
;
24401 Py_INCREF(Py_None
); resultobj
= Py_None
;
24408 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24419 if (SWIG_arg_fail(1)) SWIG_fail
;
24420 result
= (wxColour
*)& ((arg1
)->colFg
);
24422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24429 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24432 wxColour
*arg2
= (wxColour
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self",(char *) "colBg", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24441 if (SWIG_arg_fail(1)) SWIG_fail
;
24442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24443 if (SWIG_arg_fail(2)) SWIG_fail
;
24444 if (arg1
) (arg1
)->colBg
= *arg2
;
24446 Py_INCREF(Py_None
); resultobj
= Py_None
;
24453 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
;
24455 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24464 if (SWIG_arg_fail(1)) SWIG_fail
;
24465 result
= (wxColour
*)& ((arg1
)->colBg
);
24467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24474 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24477 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24479 return Py_BuildValue((char *)"");
24481 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxWindow
*arg1
= (wxWindow
*) 0 ;
24484 int arg2
= (int) (int)-1 ;
24485 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24486 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24487 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24488 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24489 long arg5
= (long) 0 ;
24490 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24491 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24495 bool temp6
= false ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 PyObject
* obj2
= 0 ;
24499 PyObject
* obj3
= 0 ;
24500 PyObject
* obj4
= 0 ;
24501 PyObject
* obj5
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24508 if (SWIG_arg_fail(1)) SWIG_fail
;
24511 arg2
= (int const)(SWIG_As_int(obj1
));
24512 if (SWIG_arg_fail(2)) SWIG_fail
;
24518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24524 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24529 arg5
= (long)(SWIG_As_long(obj4
));
24530 if (SWIG_arg_fail(5)) SWIG_fail
;
24535 arg6
= wxString_in_helper(obj5
);
24536 if (arg6
== NULL
) SWIG_fail
;
24541 if (!wxPyCheckForApp()) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24563 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24566 char *kwnames
[] = {
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24572 if (!wxPyCheckForApp()) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (wxWindow
*)new wxWindow();
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24586 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxWindow
*arg1
= (wxWindow
*) 0 ;
24589 wxWindow
*arg2
= (wxWindow
*) 0 ;
24590 int arg3
= (int) (int)-1 ;
24591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24595 long arg6
= (long) 0 ;
24596 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24597 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24601 bool temp7
= false ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 PyObject
* obj3
= 0 ;
24606 PyObject
* obj4
= 0 ;
24607 PyObject
* obj5
= 0 ;
24608 PyObject
* obj6
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24615 if (SWIG_arg_fail(1)) SWIG_fail
;
24616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24617 if (SWIG_arg_fail(2)) SWIG_fail
;
24620 arg3
= (int const)(SWIG_As_int(obj2
));
24621 if (SWIG_arg_fail(3)) SWIG_fail
;
24627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24638 arg6
= (long)(SWIG_As_long(obj5
));
24639 if (SWIG_arg_fail(6)) SWIG_fail
;
24644 arg7
= wxString_in_helper(obj6
);
24645 if (arg7
== NULL
) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24673 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxWindow
*arg1
= (wxWindow
*) 0 ;
24676 bool arg2
= (bool) false ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "force", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24686 if (SWIG_arg_fail(1)) SWIG_fail
;
24689 arg2
= (bool)(SWIG_As_bool(obj1
));
24690 if (SWIG_arg_fail(2)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (bool)(arg1
)->Close(arg2
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24709 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxWindow
*arg1
= (wxWindow
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (bool)(arg1
)->Destroy();
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24737 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxWindow
*arg1
= (wxWindow
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24748 if (SWIG_arg_fail(1)) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (bool)(arg1
)->DestroyChildren();
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24765 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxWindow
*arg1
= (wxWindow
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24776 if (SWIG_arg_fail(1)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24793 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxWindow
*arg1
= (wxWindow
*) 0 ;
24796 wxString
*arg2
= 0 ;
24797 bool temp2
= false ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "title", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24806 if (SWIG_arg_fail(1)) SWIG_fail
;
24808 arg2
= wxString_in_helper(obj1
);
24809 if (arg2
== NULL
) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 (arg1
)->SetTitle((wxString
const &)*arg2
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxWindow
*arg1
= (wxWindow
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= ((wxWindow
const *)arg1
)->GetTitle();
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24866 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxWindow
*arg1
= (wxWindow
*) 0 ;
24869 wxString
*arg2
= 0 ;
24870 bool temp2
= false ;
24871 PyObject
* obj0
= 0 ;
24872 PyObject
* obj1
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self",(char *) "label", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24879 if (SWIG_arg_fail(1)) SWIG_fail
;
24881 arg2
= wxString_in_helper(obj1
);
24882 if (arg2
== NULL
) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 (arg1
)->SetLabel((wxString
const &)*arg2
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 Py_INCREF(Py_None
); resultobj
= Py_None
;
24907 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxWindow
*arg1
= (wxWindow
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= ((wxWindow
const *)arg1
)->GetLabel();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24939 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxWindow
*arg1
= (wxWindow
*) 0 ;
24942 wxString
*arg2
= 0 ;
24943 bool temp2
= false ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "name", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24952 if (SWIG_arg_fail(1)) SWIG_fail
;
24954 arg2
= wxString_in_helper(obj1
);
24955 if (arg2
== NULL
) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->SetName((wxString
const &)*arg2
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 Py_INCREF(Py_None
); resultobj
= Py_None
;
24980 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24991 if (SWIG_arg_fail(1)) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= ((wxWindow
const *)arg1
)->GetName();
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25012 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxWindow
*arg1
= (wxWindow
*) 0 ;
25015 wxWindowVariant arg2
;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "variant", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25024 if (SWIG_arg_fail(1)) SWIG_fail
;
25026 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25027 if (SWIG_arg_fail(2)) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 Py_INCREF(Py_None
); resultobj
= Py_None
;
25043 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxWindow
*arg1
= (wxWindow
*) 0 ;
25046 wxWindowVariant result
;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_From_int((result
));
25069 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxWindow
*arg1
= (wxWindow
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 PyObject
* obj1
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self",(char *) "winid", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25081 if (SWIG_arg_fail(1)) SWIG_fail
;
25083 arg2
= (int)(SWIG_As_int(obj1
));
25084 if (SWIG_arg_fail(2)) SWIG_fail
;
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 (arg1
)->SetId(arg2
);
25090 wxPyEndAllowThreads(__tstate
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25093 Py_INCREF(Py_None
); resultobj
= Py_None
;
25100 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25101 PyObject
*resultobj
;
25102 wxWindow
*arg1
= (wxWindow
*) 0 ;
25104 PyObject
* obj0
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25111 if (SWIG_arg_fail(1)) SWIG_fail
;
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 result
= (int)((wxWindow
const *)arg1
)->GetId();
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_From_int((int)(result
));
25128 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25131 char *kwnames
[] = {
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (int)wxWindow::NewControlId();
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_From_int((int)(result
));
25152 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25156 PyObject
* obj0
= 0 ;
25157 char *kwnames
[] = {
25158 (char *) "winid", NULL
25161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25163 arg1
= (int)(SWIG_As_int(obj0
));
25164 if (SWIG_arg_fail(1)) SWIG_fail
;
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 result
= (int)wxWindow::NextControlId(arg1
);
25170 wxPyEndAllowThreads(__tstate
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_From_int((int)(result
));
25182 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
;
25186 PyObject
* obj0
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "winid", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25193 arg1
= (int)(SWIG_As_int(obj0
));
25194 if (SWIG_arg_fail(1)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (int)wxWindow::PrevControlId(arg1
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= SWIG_From_int((int)(result
));
25212 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxWindow
*arg1
= (wxWindow
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "size", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25225 if (SWIG_arg_fail(1)) SWIG_fail
;
25228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 (arg1
)->SetSize((wxSize
const &)*arg2
);
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25237 Py_INCREF(Py_None
); resultobj
= Py_None
;
25244 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxWindow
*arg1
= (wxWindow
*) 0 ;
25251 int arg6
= (int) wxSIZE_AUTO
;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 PyObject
* obj3
= 0 ;
25256 PyObject
* obj4
= 0 ;
25257 PyObject
* obj5
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25264 if (SWIG_arg_fail(1)) SWIG_fail
;
25266 arg2
= (int)(SWIG_As_int(obj1
));
25267 if (SWIG_arg_fail(2)) SWIG_fail
;
25270 arg3
= (int)(SWIG_As_int(obj2
));
25271 if (SWIG_arg_fail(3)) SWIG_fail
;
25274 arg4
= (int)(SWIG_As_int(obj3
));
25275 if (SWIG_arg_fail(4)) SWIG_fail
;
25278 arg5
= (int)(SWIG_As_int(obj4
));
25279 if (SWIG_arg_fail(5)) SWIG_fail
;
25283 arg6
= (int)(SWIG_As_int(obj5
));
25284 if (SWIG_arg_fail(6)) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 Py_INCREF(Py_None
); resultobj
= Py_None
;
25301 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxWindow
*arg1
= (wxWindow
*) 0 ;
25305 int arg3
= (int) wxSIZE_AUTO
;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 PyObject
* obj2
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25316 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25323 arg3
= (int)(SWIG_As_int(obj2
));
25324 if (SWIG_arg_fail(3)) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 Py_INCREF(Py_None
); resultobj
= Py_None
;
25341 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxWindow
*arg1
= (wxWindow
*) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 PyObject
* obj2
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "width",(char *) "height", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25355 if (SWIG_arg_fail(1)) SWIG_fail
;
25357 arg2
= (int)(SWIG_As_int(obj1
));
25358 if (SWIG_arg_fail(2)) SWIG_fail
;
25361 arg3
= (int)(SWIG_As_int(obj2
));
25362 if (SWIG_arg_fail(3)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetSize(arg2
,arg3
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25378 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxWindow
*arg1
= (wxWindow
*) 0 ;
25381 wxPoint
*arg2
= 0 ;
25382 int arg3
= (int) wxSIZE_USE_EXISTING
;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 PyObject
* obj2
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self",(char *) "pt",(char *) "flags", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25393 if (SWIG_arg_fail(1)) SWIG_fail
;
25396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25400 arg3
= (int)(SWIG_As_int(obj2
));
25401 if (SWIG_arg_fail(3)) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 int arg4
= (int) wxSIZE_USE_EXISTING
;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 PyObject
* obj2
= 0 ;
25427 PyObject
* obj3
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25434 if (SWIG_arg_fail(1)) SWIG_fail
;
25436 arg2
= (int)(SWIG_As_int(obj1
));
25437 if (SWIG_arg_fail(2)) SWIG_fail
;
25440 arg3
= (int)(SWIG_As_int(obj2
));
25441 if (SWIG_arg_fail(3)) SWIG_fail
;
25445 arg4
= (int)(SWIG_As_int(obj3
));
25446 if (SWIG_arg_fail(4)) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->Move(arg2
,arg3
,arg4
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25463 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxWindow
*arg1
= (wxWindow
*) 0 ;
25466 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25467 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self",(char *) "size", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail
;
25481 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 Py_INCREF(Py_None
); resultobj
= Py_None
;
25498 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25500 wxWindow
*arg1
= (wxWindow
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25508 if (SWIG_arg_fail(1)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 Py_INCREF(Py_None
); resultobj
= Py_None
;
25523 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxWindow
*arg1
= (wxWindow
*) 0 ;
25526 PyObject
* obj0
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 Py_INCREF(Py_None
); resultobj
= Py_None
;
25548 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxWindow
*arg1
= (wxWindow
*) 0 ;
25553 PyObject
* obj0
= 0 ;
25554 PyObject
* obj1
= 0 ;
25555 char *kwnames
[] = {
25556 (char *) "self",(char *) "size", NULL
25559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25561 if (SWIG_arg_fail(1)) SWIG_fail
;
25564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 Py_INCREF(Py_None
); resultobj
= Py_None
;
25580 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxWindow
*arg1
= (wxWindow
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 PyObject
* obj2
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "width",(char *) "height", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25594 if (SWIG_arg_fail(1)) SWIG_fail
;
25596 arg2
= (int)(SWIG_As_int(obj1
));
25597 if (SWIG_arg_fail(2)) SWIG_fail
;
25600 arg3
= (int)(SWIG_As_int(obj2
));
25601 if (SWIG_arg_fail(3)) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 (arg1
)->SetClientSize(arg2
,arg3
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 Py_INCREF(Py_None
); resultobj
= Py_None
;
25617 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxWindow
*arg1
= (wxWindow
*) 0 ;
25622 PyObject
* obj0
= 0 ;
25623 PyObject
* obj1
= 0 ;
25624 char *kwnames
[] = {
25625 (char *) "self",(char *) "rect", NULL
25628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25630 if (SWIG_arg_fail(1)) SWIG_fail
;
25633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25639 wxPyEndAllowThreads(__tstate
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 Py_INCREF(Py_None
); resultobj
= Py_None
;
25649 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxWindow
*arg1
= (wxWindow
*) 0 ;
25653 PyObject
* obj0
= 0 ;
25654 char *kwnames
[] = {
25655 (char *) "self", NULL
25658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25660 if (SWIG_arg_fail(1)) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (arg1
)->GetPosition();
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 wxPoint
* resultptr
;
25670 resultptr
= new wxPoint((wxPoint
&)(result
));
25671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25679 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
;
25681 wxWindow
*arg1
= (wxWindow
*) 0 ;
25682 int *arg2
= (int *) 0 ;
25683 int *arg3
= (int *) 0 ;
25688 PyObject
* obj0
= 0 ;
25689 char *kwnames
[] = {
25690 (char *) "self", NULL
25693 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25694 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25697 if (SWIG_arg_fail(1)) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 (arg1
)->GetPosition(arg2
,arg3
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 Py_INCREF(Py_None
); resultobj
= Py_None
;
25706 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25707 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25708 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25709 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25716 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxWindow
*arg1
= (wxWindow
*) 0 ;
25720 PyObject
* obj0
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25727 if (SWIG_arg_fail(1)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= ((wxWindow
const *)arg1
)->GetSize();
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 wxSize
* resultptr
;
25737 resultptr
= new wxSize((wxSize
&)(result
));
25738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25746 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxWindow
*arg1
= (wxWindow
*) 0 ;
25749 int *arg2
= (int *) 0 ;
25750 int *arg3
= (int *) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25761 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25764 if (SWIG_arg_fail(1)) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 Py_INCREF(Py_None
); resultobj
= Py_None
;
25773 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25774 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25775 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25776 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25783 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxWindow
*arg1
= (wxWindow
*) 0 ;
25787 PyObject
* obj0
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25794 if (SWIG_arg_fail(1)) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 result
= ((wxWindow
const *)arg1
)->GetRect();
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25803 wxRect
* resultptr
;
25804 resultptr
= new wxRect((wxRect
&)(result
));
25805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25813 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxWindow
*arg1
= (wxWindow
*) 0 ;
25817 PyObject
* obj0
= 0 ;
25818 char *kwnames
[] = {
25819 (char *) "self", NULL
25822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25824 if (SWIG_arg_fail(1)) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25833 wxSize
* resultptr
;
25834 resultptr
= new wxSize((wxSize
&)(result
));
25835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25843 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
;
25845 wxWindow
*arg1
= (wxWindow
*) 0 ;
25846 int *arg2
= (int *) 0 ;
25847 int *arg3
= (int *) 0 ;
25852 PyObject
* obj0
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self", NULL
25857 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25858 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25861 if (SWIG_arg_fail(1)) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 Py_INCREF(Py_None
); resultobj
= Py_None
;
25870 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25871 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25872 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25873 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25880 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxWindow
*arg1
= (wxWindow
*) 0 ;
25884 PyObject
* obj0
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 wxPoint
* resultptr
;
25901 resultptr
= new wxPoint((wxPoint
&)(result
));
25902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25910 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxWindow
*arg1
= (wxWindow
*) 0 ;
25914 PyObject
* obj0
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25921 if (SWIG_arg_fail(1)) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25930 wxRect
* resultptr
;
25931 resultptr
= new wxRect((wxRect
&)(result
));
25932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25940 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxWindow
*arg1
= (wxWindow
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25951 if (SWIG_arg_fail(1)) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25960 wxSize
* resultptr
;
25961 resultptr
= new wxSize((wxSize
&)(result
));
25962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25970 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxWindow
*arg1
= (wxWindow
*) 0 ;
25973 int *arg2
= (int *) 0 ;
25974 int *arg3
= (int *) 0 ;
25979 PyObject
* obj0
= 0 ;
25980 char *kwnames
[] = {
25981 (char *) "self", NULL
25984 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25985 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25988 if (SWIG_arg_fail(1)) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 Py_INCREF(Py_None
); resultobj
= Py_None
;
25997 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25998 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25999 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26000 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26007 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxWindow
*arg1
= (wxWindow
*) 0 ;
26010 PyObject
* obj0
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26017 if (SWIG_arg_fail(1)) SWIG_fail
;
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 (arg1
)->InvalidateBestSize();
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 Py_INCREF(Py_None
); resultobj
= Py_None
;
26032 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxWindow
*arg1
= (wxWindow
*) 0 ;
26036 PyObject
* obj0
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26043 if (SWIG_arg_fail(1)) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 wxSize
* resultptr
;
26053 resultptr
= new wxSize((wxSize
&)(result
));
26054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26062 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxWindow
*arg1
= (wxWindow
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(1)) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26082 wxSize
* resultptr
;
26083 resultptr
= new wxSize((wxSize
&)(result
));
26084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26092 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxWindow
*arg1
= (wxWindow
*) 0 ;
26095 int arg2
= (int) wxBOTH
;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "direction", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26107 arg2
= (int)(SWIG_As_int(obj1
));
26108 if (SWIG_arg_fail(2)) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 (arg1
)->Center(arg2
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 Py_INCREF(Py_None
); resultobj
= Py_None
;
26125 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxWindow
*arg1
= (wxWindow
*) 0 ;
26128 int arg2
= (int) wxBOTH
;
26129 PyObject
* obj0
= 0 ;
26130 PyObject
* obj1
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self",(char *) "dir", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26137 if (SWIG_arg_fail(1)) SWIG_fail
;
26140 arg2
= (int)(SWIG_As_int(obj1
));
26141 if (SWIG_arg_fail(2)) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 (arg1
)->CenterOnScreen(arg2
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 Py_INCREF(Py_None
); resultobj
= Py_None
;
26158 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxWindow
*arg1
= (wxWindow
*) 0 ;
26161 int arg2
= (int) wxBOTH
;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self",(char *) "dir", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail
;
26173 arg2
= (int)(SWIG_As_int(obj1
));
26174 if (SWIG_arg_fail(2)) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 (arg1
)->CenterOnParent(arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 Py_INCREF(Py_None
); resultobj
= Py_None
;
26191 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26194 PyObject
* obj0
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26201 if (SWIG_arg_fail(1)) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxWindow
*arg1
= (wxWindow
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26226 if (SWIG_arg_fail(1)) SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 (arg1
)->FitInside();
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 Py_INCREF(Py_None
); resultobj
= Py_None
;
26241 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxWindow
*arg1
= (wxWindow
*) 0 ;
26246 int arg4
= (int) -1 ;
26247 int arg5
= (int) -1 ;
26248 int arg6
= (int) -1 ;
26249 int arg7
= (int) -1 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 PyObject
* obj2
= 0 ;
26253 PyObject
* obj3
= 0 ;
26254 PyObject
* obj4
= 0 ;
26255 PyObject
* obj5
= 0 ;
26256 PyObject
* obj6
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail
;
26265 arg2
= (int)(SWIG_As_int(obj1
));
26266 if (SWIG_arg_fail(2)) SWIG_fail
;
26269 arg3
= (int)(SWIG_As_int(obj2
));
26270 if (SWIG_arg_fail(3)) SWIG_fail
;
26274 arg4
= (int)(SWIG_As_int(obj3
));
26275 if (SWIG_arg_fail(4)) SWIG_fail
;
26280 arg5
= (int)(SWIG_As_int(obj4
));
26281 if (SWIG_arg_fail(5)) SWIG_fail
;
26286 arg6
= (int)(SWIG_As_int(obj5
));
26287 if (SWIG_arg_fail(6)) SWIG_fail
;
26292 arg7
= (int)(SWIG_As_int(obj6
));
26293 if (SWIG_arg_fail(7)) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 Py_INCREF(Py_None
); resultobj
= Py_None
;
26310 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxWindow
*arg1
= (wxWindow
*) 0 ;
26314 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26315 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26316 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26317 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 PyObject
* obj2
= 0 ;
26324 PyObject
* obj3
= 0 ;
26325 char *kwnames
[] = {
26326 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26331 if (SWIG_arg_fail(1)) SWIG_fail
;
26334 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26339 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 Py_INCREF(Py_None
); resultobj
= Py_None
;
26362 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
;
26364 wxWindow
*arg1
= (wxWindow
*) 0 ;
26367 int arg4
= (int) -1 ;
26368 int arg5
= (int) -1 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 PyObject
* obj2
= 0 ;
26372 PyObject
* obj3
= 0 ;
26373 PyObject
* obj4
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26380 if (SWIG_arg_fail(1)) SWIG_fail
;
26382 arg2
= (int)(SWIG_As_int(obj1
));
26383 if (SWIG_arg_fail(2)) SWIG_fail
;
26386 arg3
= (int)(SWIG_As_int(obj2
));
26387 if (SWIG_arg_fail(3)) SWIG_fail
;
26391 arg4
= (int)(SWIG_As_int(obj3
));
26392 if (SWIG_arg_fail(4)) SWIG_fail
;
26397 arg5
= (int)(SWIG_As_int(obj4
));
26398 if (SWIG_arg_fail(5)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 Py_INCREF(Py_None
); resultobj
= Py_None
;
26415 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxWindow
*arg1
= (wxWindow
*) 0 ;
26419 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26420 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 PyObject
* obj2
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26440 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 wxSize
* resultptr
;
26478 resultptr
= new wxSize((wxSize
&)(result
));
26479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26487 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxWindow
*arg1
= (wxWindow
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 char *kwnames
[] = {
26493 (char *) "self", NULL
26496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26498 if (SWIG_arg_fail(1)) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26507 wxSize
* resultptr
;
26508 resultptr
= new wxSize((wxSize
&)(result
));
26509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26517 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
;
26519 wxWindow
*arg1
= (wxWindow
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "minSize", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26530 if (SWIG_arg_fail(1)) SWIG_fail
;
26533 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 Py_INCREF(Py_None
); resultobj
= Py_None
;
26549 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
;
26551 wxWindow
*arg1
= (wxWindow
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self",(char *) "maxSize", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26562 if (SWIG_arg_fail(1)) SWIG_fail
;
26565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26574 Py_INCREF(Py_None
); resultobj
= Py_None
;
26581 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
;
26583 wxWindow
*arg1
= (wxWindow
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26592 if (SWIG_arg_fail(1)) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_From_int((int)(result
));
26609 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxWindow
*arg1
= (wxWindow
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail
;
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_From_int((int)(result
));
26637 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
;
26639 wxWindow
*arg1
= (wxWindow
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26648 if (SWIG_arg_fail(1)) SWIG_fail
;
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_From_int((int)(result
));
26665 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
;
26667 wxWindow
*arg1
= (wxWindow
*) 0 ;
26669 PyObject
* obj0
= 0 ;
26670 char *kwnames
[] = {
26671 (char *) "self", NULL
26674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26676 if (SWIG_arg_fail(1)) SWIG_fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_From_int((int)(result
));
26693 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
;
26695 wxWindow
*arg1
= (wxWindow
*) 0 ;
26698 PyObject
* obj0
= 0 ;
26699 PyObject
* obj1
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self",(char *) "size", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26706 if (SWIG_arg_fail(1)) SWIG_fail
;
26709 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 Py_INCREF(Py_None
); resultobj
= Py_None
;
26725 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxWindow
*arg1
= (wxWindow
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26732 PyObject
* obj2
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "w",(char *) "h", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail
;
26741 arg2
= (int)(SWIG_As_int(obj1
));
26742 if (SWIG_arg_fail(2)) SWIG_fail
;
26745 arg3
= (int)(SWIG_As_int(obj2
));
26746 if (SWIG_arg_fail(3)) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 (arg1
)->SetVirtualSize(arg2
,arg3
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26755 Py_INCREF(Py_None
); resultobj
= Py_None
;
26762 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxWindow
*arg1
= (wxWindow
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26773 if (SWIG_arg_fail(1)) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26782 wxSize
* resultptr
;
26783 resultptr
= new wxSize((wxSize
&)(result
));
26784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26792 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxWindow
*arg1
= (wxWindow
*) 0 ;
26795 int *arg2
= (int *) 0 ;
26796 int *arg3
= (int *) 0 ;
26801 PyObject
* obj0
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self", NULL
26806 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26807 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26810 if (SWIG_arg_fail(1)) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 Py_INCREF(Py_None
); resultobj
= Py_None
;
26819 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26820 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26821 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26822 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26829 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxWindow
*arg1
= (wxWindow
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26840 if (SWIG_arg_fail(1)) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26849 wxSize
* resultptr
;
26850 resultptr
= new wxSize((wxSize
&)(result
));
26851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26859 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxWindow
*arg1
= (wxWindow
*) 0 ;
26862 bool arg2
= (bool) true ;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 char *kwnames
[] = {
26867 (char *) "self",(char *) "show", NULL
26870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26872 if (SWIG_arg_fail(1)) SWIG_fail
;
26875 arg2
= (bool)(SWIG_As_bool(obj1
));
26876 if (SWIG_arg_fail(2)) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= (bool)(arg1
)->Show(arg2
);
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26895 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxWindow
*arg1
= (wxWindow
*) 0 ;
26899 PyObject
* obj0
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26906 if (SWIG_arg_fail(1)) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 result
= (bool)(arg1
)->Hide();
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26923 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxWindow
*arg1
= (wxWindow
*) 0 ;
26926 bool arg2
= (bool) true ;
26928 PyObject
* obj0
= 0 ;
26929 PyObject
* obj1
= 0 ;
26930 char *kwnames
[] = {
26931 (char *) "self",(char *) "enable", NULL
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26936 if (SWIG_arg_fail(1)) SWIG_fail
;
26939 arg2
= (bool)(SWIG_As_bool(obj1
));
26940 if (SWIG_arg_fail(2)) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 result
= (bool)(arg1
)->Enable(arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26959 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxWindow
*arg1
= (wxWindow
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 char *kwnames
[] = {
26965 (char *) "self", NULL
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= (bool)(arg1
)->Disable();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26987 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxWindow
*arg1
= (wxWindow
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27015 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxWindow
*arg1
= (wxWindow
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27026 if (SWIG_arg_fail(1)) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27043 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxWindow
*arg1
= (wxWindow
*) 0 ;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self",(char *) "style", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27055 if (SWIG_arg_fail(1)) SWIG_fail
;
27057 arg2
= (long)(SWIG_As_long(obj1
));
27058 if (SWIG_arg_fail(2)) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->SetWindowStyleFlag(arg2
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27074 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxWindow
*arg1
= (wxWindow
*) 0 ;
27078 PyObject
* obj0
= 0 ;
27079 char *kwnames
[] = {
27080 (char *) "self", NULL
27083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27085 if (SWIG_arg_fail(1)) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= SWIG_From_long((long)(result
));
27102 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxWindow
*arg1
= (wxWindow
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self",(char *) "flag", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27115 if (SWIG_arg_fail(1)) SWIG_fail
;
27117 arg2
= (int)(SWIG_As_int(obj1
));
27118 if (SWIG_arg_fail(2)) SWIG_fail
;
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27136 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
;
27138 wxWindow
*arg1
= (wxWindow
*) 0 ;
27140 PyObject
* obj0
= 0 ;
27141 char *kwnames
[] = {
27142 (char *) "self", NULL
27145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27147 if (SWIG_arg_fail(1)) SWIG_fail
;
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27152 wxPyEndAllowThreads(__tstate
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27164 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxWindow
*arg1
= (wxWindow
*) 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "exStyle", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27176 if (SWIG_arg_fail(1)) SWIG_fail
;
27178 arg2
= (long)(SWIG_As_long(obj1
));
27179 if (SWIG_arg_fail(2)) SWIG_fail
;
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 (arg1
)->SetExtraStyle(arg2
);
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 Py_INCREF(Py_None
); resultobj
= Py_None
;
27195 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
;
27197 wxWindow
*arg1
= (wxWindow
*) 0 ;
27199 PyObject
* obj0
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "self", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27206 if (SWIG_arg_fail(1)) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_From_long((long)(result
));
27223 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxWindow
*arg1
= (wxWindow
*) 0 ;
27226 bool arg2
= (bool) true ;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self",(char *) "modal", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27235 if (SWIG_arg_fail(1)) SWIG_fail
;
27238 arg2
= (bool)(SWIG_As_bool(obj1
));
27239 if (SWIG_arg_fail(2)) SWIG_fail
;
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 (arg1
)->MakeModal(arg2
);
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 Py_INCREF(Py_None
); resultobj
= Py_None
;
27256 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27257 PyObject
*resultobj
;
27258 wxWindow
*arg1
= (wxWindow
*) 0 ;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 char *kwnames
[] = {
27263 (char *) "self",(char *) "enableTheme", NULL
27266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27268 if (SWIG_arg_fail(1)) SWIG_fail
;
27270 arg2
= (bool)(SWIG_As_bool(obj1
));
27271 if (SWIG_arg_fail(2)) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 (arg1
)->SetThemeEnabled(arg2
);
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 Py_INCREF(Py_None
); resultobj
= Py_None
;
27287 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxWindow
*arg1
= (wxWindow
*) 0 ;
27291 PyObject
* obj0
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27315 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxWindow
*arg1
= (wxWindow
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27325 if (SWIG_arg_fail(1)) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 (arg1
)->SetFocus();
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 Py_INCREF(Py_None
); resultobj
= Py_None
;
27340 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxWindow
*arg1
= (wxWindow
*) 0 ;
27343 PyObject
* obj0
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27350 if (SWIG_arg_fail(1)) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 (arg1
)->SetFocusFromKbd();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 Py_INCREF(Py_None
); resultobj
= Py_None
;
27365 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27368 char *kwnames
[] = {
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27374 if (!wxPyCheckForApp()) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (wxWindow
*)wxWindow::FindFocus();
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= wxPyMake_wxObject(result
, 0);
27390 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxWindow
*arg1
= (wxWindow
*) 0 ;
27394 PyObject
* obj0
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27401 if (SWIG_arg_fail(1)) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27418 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxWindow
*arg1
= (wxWindow
*) 0 ;
27422 PyObject
* obj0
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27429 if (SWIG_arg_fail(1)) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27446 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxWindow
*arg1
= (wxWindow
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27457 if (SWIG_arg_fail(1)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= wxPyMake_wxObject(result
, 0);
27474 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxWindow
*arg1
= (wxWindow
*) 0 ;
27477 wxWindow
*arg2
= (wxWindow
*) 0 ;
27479 PyObject
* obj0
= 0 ;
27480 PyObject
* obj1
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self",(char *) "child", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27487 if (SWIG_arg_fail(1)) SWIG_fail
;
27488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27489 if (SWIG_arg_fail(2)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= wxPyMake_wxObject(result
, 0);
27506 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
;
27508 wxWindow
*arg1
= (wxWindow
*) 0 ;
27509 wxWindow
*arg2
= (wxWindow
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 PyObject
* obj1
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self",(char *) "win", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27518 if (SWIG_arg_fail(1)) SWIG_fail
;
27519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27520 if (SWIG_arg_fail(2)) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 (arg1
)->SetTmpDefaultItem(arg2
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 Py_INCREF(Py_None
); resultobj
= Py_None
;
27535 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxWindow
*arg1
= (wxWindow
*) 0 ;
27538 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "flags", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail
;
27551 arg2
= (int)(SWIG_As_int(obj1
));
27552 if (SWIG_arg_fail(2)) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= (bool)(arg1
)->Navigate(arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27571 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxWindow
*arg1
= (wxWindow
*) 0 ;
27574 wxWindow
*arg2
= (wxWindow
*) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self",(char *) "win", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27583 if (SWIG_arg_fail(1)) SWIG_fail
;
27584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27585 if (SWIG_arg_fail(2)) SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 (arg1
)->MoveAfterInTabOrder(arg2
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 Py_INCREF(Py_None
); resultobj
= Py_None
;
27600 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxWindow
*arg1
= (wxWindow
*) 0 ;
27603 wxWindow
*arg2
= (wxWindow
*) 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self",(char *) "win", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27612 if (SWIG_arg_fail(1)) SWIG_fail
;
27613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27614 if (SWIG_arg_fail(2)) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 (arg1
)->MoveBeforeInTabOrder(arg2
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 Py_INCREF(Py_None
); resultobj
= Py_None
;
27629 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxWindow
*arg1
= (wxWindow
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27640 if (SWIG_arg_fail(1)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= result
;
27655 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxWindow
*arg1
= (wxWindow
*) 0 ;
27659 PyObject
* obj0
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27666 if (SWIG_arg_fail(1)) SWIG_fail
;
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= wxPyMake_wxObject(result
, 0);
27683 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxWindow
*arg1
= (wxWindow
*) 0 ;
27687 PyObject
* obj0
= 0 ;
27688 char *kwnames
[] = {
27689 (char *) "self", NULL
27692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27694 if (SWIG_arg_fail(1)) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= wxPyMake_wxObject(result
, 0);
27711 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxWindow
*arg1
= (wxWindow
*) 0 ;
27715 PyObject
* obj0
= 0 ;
27716 char *kwnames
[] = {
27717 (char *) "self", NULL
27720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27722 if (SWIG_arg_fail(1)) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27739 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
;
27741 wxWindow
*arg1
= (wxWindow
*) 0 ;
27742 wxWindow
*arg2
= (wxWindow
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self",(char *) "newParent", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27752 if (SWIG_arg_fail(1)) SWIG_fail
;
27753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27754 if (SWIG_arg_fail(2)) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 result
= (bool)(arg1
)->Reparent(arg2
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27771 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxWindow
*arg1
= (wxWindow
*) 0 ;
27774 wxWindow
*arg2
= (wxWindow
*) 0 ;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self",(char *) "child", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27783 if (SWIG_arg_fail(1)) SWIG_fail
;
27784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(2)) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 (arg1
)->AddChild(arg2
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxWindow
*arg1
= (wxWindow
*) 0 ;
27803 wxWindow
*arg2
= (wxWindow
*) 0 ;
27804 PyObject
* obj0
= 0 ;
27805 PyObject
* obj1
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self",(char *) "child", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail
;
27813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27814 if (SWIG_arg_fail(2)) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 (arg1
)->RemoveChild(arg2
);
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 Py_INCREF(Py_None
); resultobj
= Py_None
;
27829 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxWindow
*arg1
= (wxWindow
*) 0 ;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self",(char *) "winid", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27842 if (SWIG_arg_fail(1)) SWIG_fail
;
27844 arg2
= (long)(SWIG_As_long(obj1
));
27845 if (SWIG_arg_fail(2)) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= wxPyMake_wxObject(result
, 0);
27863 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27864 PyObject
*resultobj
;
27865 wxWindow
*arg1
= (wxWindow
*) 0 ;
27866 wxString
*arg2
= 0 ;
27868 bool temp2
= false ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 char *kwnames
[] = {
27872 (char *) "self",(char *) "name", NULL
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27877 if (SWIG_arg_fail(1)) SWIG_fail
;
27879 arg2
= wxString_in_helper(obj1
);
27880 if (arg2
== NULL
) SWIG_fail
;
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= wxPyMake_wxObject(result
, 0);
27907 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxWindow
*arg1
= (wxWindow
*) 0 ;
27910 wxEvtHandler
*result
;
27911 PyObject
* obj0
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27918 if (SWIG_arg_fail(1)) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= wxPyMake_wxObject(result
, 0);
27935 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27937 wxWindow
*arg1
= (wxWindow
*) 0 ;
27938 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27939 PyObject
* obj0
= 0 ;
27940 PyObject
* obj1
= 0 ;
27941 char *kwnames
[] = {
27942 (char *) "self",(char *) "handler", NULL
27945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27947 if (SWIG_arg_fail(1)) SWIG_fail
;
27948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27949 if (SWIG_arg_fail(2)) SWIG_fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 (arg1
)->SetEventHandler(arg2
);
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 Py_INCREF(Py_None
); resultobj
= Py_None
;
27964 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxWindow
*arg1
= (wxWindow
*) 0 ;
27967 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self",(char *) "handler", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27976 if (SWIG_arg_fail(1)) SWIG_fail
;
27977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27978 if (SWIG_arg_fail(2)) SWIG_fail
;
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 (arg1
)->PushEventHandler(arg2
);
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 Py_INCREF(Py_None
); resultobj
= Py_None
;
27993 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 bool arg2
= (bool) false ;
27997 wxEvtHandler
*result
;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self",(char *) "deleteHandler", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28006 if (SWIG_arg_fail(1)) SWIG_fail
;
28009 arg2
= (bool)(SWIG_As_bool(obj1
));
28010 if (SWIG_arg_fail(2)) SWIG_fail
;
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28021 resultobj
= wxPyMake_wxObject(result
, 0);
28029 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
;
28031 wxWindow
*arg1
= (wxWindow
*) 0 ;
28032 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "self",(char *) "handler", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28042 if (SWIG_arg_fail(1)) SWIG_fail
;
28043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28044 if (SWIG_arg_fail(2)) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28061 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxWindow
*arg1
= (wxWindow
*) 0 ;
28064 wxValidator
*arg2
= 0 ;
28065 PyObject
* obj0
= 0 ;
28066 PyObject
* obj1
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "self",(char *) "validator", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28073 if (SWIG_arg_fail(1)) SWIG_fail
;
28075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28076 if (SWIG_arg_fail(2)) SWIG_fail
;
28077 if (arg2
== NULL
) {
28078 SWIG_null_ref("wxValidator");
28080 if (SWIG_arg_fail(2)) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 Py_INCREF(Py_None
); resultobj
= Py_None
;
28096 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
;
28098 wxWindow
*arg1
= (wxWindow
*) 0 ;
28099 wxValidator
*result
;
28100 PyObject
* obj0
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self", NULL
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28107 if (SWIG_arg_fail(1)) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (wxValidator
*)(arg1
)->GetValidator();
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= wxPyMake_wxObject(result
, 0);
28124 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxWindow
*arg1
= (wxWindow
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28135 if (SWIG_arg_fail(1)) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (bool)(arg1
)->Validate();
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28152 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
;
28154 wxWindow
*arg1
= (wxWindow
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 char *kwnames
[] = {
28158 (char *) "self", NULL
28161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28163 if (SWIG_arg_fail(1)) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= (bool)(arg1
)->TransferDataToWindow();
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28180 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxWindow
*arg1
= (wxWindow
*) 0 ;
28184 PyObject
* obj0
= 0 ;
28185 char *kwnames
[] = {
28186 (char *) "self", NULL
28189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28191 if (SWIG_arg_fail(1)) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (bool)(arg1
)->TransferDataFromWindow();
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28208 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxWindow
*arg1
= (wxWindow
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28218 if (SWIG_arg_fail(1)) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 (arg1
)->InitDialog();
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 Py_INCREF(Py_None
); resultobj
= Py_None
;
28233 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
;
28235 wxWindow
*arg1
= (wxWindow
*) 0 ;
28236 wxAcceleratorTable
*arg2
= 0 ;
28237 PyObject
* obj0
= 0 ;
28238 PyObject
* obj1
= 0 ;
28239 char *kwnames
[] = {
28240 (char *) "self",(char *) "accel", NULL
28243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28245 if (SWIG_arg_fail(1)) SWIG_fail
;
28247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28248 if (SWIG_arg_fail(2)) SWIG_fail
;
28249 if (arg2
== NULL
) {
28250 SWIG_null_ref("wxAcceleratorTable");
28252 if (SWIG_arg_fail(2)) SWIG_fail
;
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28256 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 Py_INCREF(Py_None
); resultobj
= Py_None
;
28268 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxWindow
*arg1
= (wxWindow
*) 0 ;
28271 wxAcceleratorTable
*result
;
28272 PyObject
* obj0
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28279 if (SWIG_arg_fail(1)) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28294 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
;
28296 wxWindow
*arg1
= (wxWindow
*) 0 ;
28301 PyObject
* obj0
= 0 ;
28302 PyObject
* obj1
= 0 ;
28303 PyObject
* obj2
= 0 ;
28304 PyObject
* obj3
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28311 if (SWIG_arg_fail(1)) SWIG_fail
;
28313 arg2
= (int)(SWIG_As_int(obj1
));
28314 if (SWIG_arg_fail(2)) SWIG_fail
;
28317 arg3
= (int)(SWIG_As_int(obj2
));
28318 if (SWIG_arg_fail(3)) SWIG_fail
;
28321 arg4
= (int)(SWIG_As_int(obj3
));
28322 if (SWIG_arg_fail(4)) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28340 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxWindow
*arg1
= (wxWindow
*) 0 ;
28345 PyObject
* obj0
= 0 ;
28346 PyObject
* obj1
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self",(char *) "hotkeyId", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28353 if (SWIG_arg_fail(1)) SWIG_fail
;
28355 arg2
= (int)(SWIG_As_int(obj1
));
28356 if (SWIG_arg_fail(2)) SWIG_fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28374 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxWindow
*arg1
= (wxWindow
*) 0 ;
28377 wxPoint
*arg2
= 0 ;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self",(char *) "pt", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail
;
28391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 wxPoint
* resultptr
;
28402 resultptr
= new wxPoint((wxPoint
&)(result
));
28403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28411 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
;
28413 wxWindow
*arg1
= (wxWindow
*) 0 ;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self",(char *) "sz", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28425 if (SWIG_arg_fail(1)) SWIG_fail
;
28428 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 wxSize
* resultptr
;
28439 resultptr
= new wxSize((wxSize
&)(result
));
28440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28448 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
;
28450 wxWindow
*arg1
= (wxWindow
*) 0 ;
28451 wxPoint
*arg2
= 0 ;
28454 PyObject
* obj0
= 0 ;
28455 PyObject
* obj1
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self",(char *) "pt", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28462 if (SWIG_arg_fail(1)) SWIG_fail
;
28465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28469 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28475 wxPoint
* resultptr
;
28476 resultptr
= new wxPoint((wxPoint
&)(result
));
28477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28485 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28486 PyObject
*resultobj
;
28487 wxWindow
*arg1
= (wxWindow
*) 0 ;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 char *kwnames
[] = {
28494 (char *) "self",(char *) "sz", NULL
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28499 if (SWIG_arg_fail(1)) SWIG_fail
;
28502 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 wxSize
* resultptr
;
28513 resultptr
= new wxSize((wxSize
&)(result
));
28514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28522 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28523 PyObject
*resultobj
;
28524 wxWindow
*arg1
= (wxWindow
*) 0 ;
28525 wxPoint
*arg2
= 0 ;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 char *kwnames
[] = {
28531 (char *) "self",(char *) "pt", NULL
28534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28536 if (SWIG_arg_fail(1)) SWIG_fail
;
28539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 wxPoint
* resultptr
;
28550 resultptr
= new wxPoint((wxPoint
&)(result
));
28551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28559 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28561 wxWindow
*arg1
= (wxWindow
*) 0 ;
28565 PyObject
* obj0
= 0 ;
28566 PyObject
* obj1
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "sz", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28573 if (SWIG_arg_fail(1)) SWIG_fail
;
28576 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28586 wxSize
* resultptr
;
28587 resultptr
= new wxSize((wxSize
&)(result
));
28588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28596 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
;
28598 wxWindow
*arg1
= (wxWindow
*) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 PyObject
* obj2
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self",(char *) "x",(char *) "y", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail
;
28612 arg2
= (int)(SWIG_As_int(obj1
));
28613 if (SWIG_arg_fail(2)) SWIG_fail
;
28616 arg3
= (int)(SWIG_As_int(obj2
));
28617 if (SWIG_arg_fail(3)) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 (arg1
)->WarpPointer(arg2
,arg3
);
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 Py_INCREF(Py_None
); resultobj
= Py_None
;
28633 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxWindow
*arg1
= (wxWindow
*) 0 ;
28636 PyObject
* obj0
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28643 if (SWIG_arg_fail(1)) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 (arg1
)->CaptureMouse();
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 Py_INCREF(Py_None
); resultobj
= Py_None
;
28658 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxWindow
*arg1
= (wxWindow
*) 0 ;
28661 PyObject
* obj0
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(1)) SWIG_fail
;
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 (arg1
)->ReleaseMouse();
28673 wxPyEndAllowThreads(__tstate
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28676 Py_INCREF(Py_None
); resultobj
= Py_None
;
28683 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
;
28686 char *kwnames
[] = {
28690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28692 if (!wxPyCheckForApp()) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (wxWindow
*)wxWindow::GetCapture();
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= wxPyMake_wxObject(result
, 0);
28708 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxWindow
*arg1
= (wxWindow
*) 0 ;
28712 PyObject
* obj0
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28719 if (SWIG_arg_fail(1)) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28736 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxWindow
*arg1
= (wxWindow
*) 0 ;
28739 bool arg2
= (bool) true ;
28740 wxRect
*arg3
= (wxRect
*) NULL
;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 PyObject
* obj2
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail
;
28753 arg2
= (bool)(SWIG_As_bool(obj1
));
28754 if (SWIG_arg_fail(2)) SWIG_fail
;
28758 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28759 if (SWIG_arg_fail(3)) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 Py_INCREF(Py_None
); resultobj
= Py_None
;
28775 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxWindow
*arg1
= (wxWindow
*) 0 ;
28779 bool arg3
= (bool) true ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 PyObject
* obj2
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28790 if (SWIG_arg_fail(1)) SWIG_fail
;
28793 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28797 arg3
= (bool)(SWIG_As_bool(obj2
));
28798 if (SWIG_arg_fail(3)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28808 Py_INCREF(Py_None
); resultobj
= Py_None
;
28815 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28816 PyObject
*resultobj
;
28817 wxWindow
*arg1
= (wxWindow
*) 0 ;
28818 PyObject
* obj0
= 0 ;
28819 char *kwnames
[] = {
28820 (char *) "self", NULL
28823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28825 if (SWIG_arg_fail(1)) SWIG_fail
;
28827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28833 Py_INCREF(Py_None
); resultobj
= Py_None
;
28840 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28841 PyObject
*resultobj
;
28842 wxWindow
*arg1
= (wxWindow
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "self", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28850 if (SWIG_arg_fail(1)) SWIG_fail
;
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 (arg1
)->ClearBackground();
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28858 Py_INCREF(Py_None
); resultobj
= Py_None
;
28865 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
;
28867 wxWindow
*arg1
= (wxWindow
*) 0 ;
28868 PyObject
* obj0
= 0 ;
28869 char *kwnames
[] = {
28870 (char *) "self", NULL
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28875 if (SWIG_arg_fail(1)) SWIG_fail
;
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 Py_INCREF(Py_None
); resultobj
= Py_None
;
28890 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxWindow
*arg1
= (wxWindow
*) 0 ;
28893 PyObject
* obj0
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28900 if (SWIG_arg_fail(1)) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 Py_INCREF(Py_None
); resultobj
= Py_None
;
28915 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxWindow
*arg1
= (wxWindow
*) 0 ;
28919 PyObject
* obj0
= 0 ;
28920 PyObject
* obj1
= 0 ;
28921 char *kwnames
[] = {
28922 (char *) "self",(char *) "dc", NULL
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28927 if (SWIG_arg_fail(1)) SWIG_fail
;
28929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28930 if (SWIG_arg_fail(2)) SWIG_fail
;
28931 if (arg2
== NULL
) {
28932 SWIG_null_ref("wxDC");
28934 if (SWIG_arg_fail(2)) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 (arg1
)->PrepareDC(*arg2
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 Py_INCREF(Py_None
); resultobj
= Py_None
;
28950 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
;
28952 wxWindow
*arg1
= (wxWindow
*) 0 ;
28954 PyObject
* obj0
= 0 ;
28955 char *kwnames
[] = {
28956 (char *) "self", NULL
28959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28961 if (SWIG_arg_fail(1)) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28966 result
= (wxRegion
*) &_result_ref
;
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28979 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxWindow
*arg1
= (wxWindow
*) 0 ;
28983 PyObject
* obj0
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28990 if (SWIG_arg_fail(1)) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28999 wxRect
* resultptr
;
29000 resultptr
= new wxRect((wxRect
&)(result
));
29001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29009 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
;
29011 wxWindow
*arg1
= (wxWindow
*) 0 ;
29014 int arg4
= (int) 1 ;
29015 int arg5
= (int) 1 ;
29017 PyObject
* obj0
= 0 ;
29018 PyObject
* obj1
= 0 ;
29019 PyObject
* obj2
= 0 ;
29020 PyObject
* obj3
= 0 ;
29021 PyObject
* obj4
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail
;
29030 arg2
= (int)(SWIG_As_int(obj1
));
29031 if (SWIG_arg_fail(2)) SWIG_fail
;
29034 arg3
= (int)(SWIG_As_int(obj2
));
29035 if (SWIG_arg_fail(3)) SWIG_fail
;
29039 arg4
= (int)(SWIG_As_int(obj3
));
29040 if (SWIG_arg_fail(4)) SWIG_fail
;
29045 arg5
= (int)(SWIG_As_int(obj4
));
29046 if (SWIG_arg_fail(5)) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29065 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxWindow
*arg1
= (wxWindow
*) 0 ;
29068 wxPoint
*arg2
= 0 ;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 char *kwnames
[] = {
29074 (char *) "self",(char *) "pt", NULL
29077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29079 if (SWIG_arg_fail(1)) SWIG_fail
;
29082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29100 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
;
29102 wxWindow
*arg1
= (wxWindow
*) 0 ;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self",(char *) "rect", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29114 if (SWIG_arg_fail(1)) SWIG_fail
;
29117 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29135 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxWindow
*arg1
= (wxWindow
*) 0 ;
29138 wxVisualAttributes result
;
29139 PyObject
* obj0
= 0 ;
29140 char *kwnames
[] = {
29141 (char *) "self", NULL
29144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29146 if (SWIG_arg_fail(1)) SWIG_fail
;
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29155 wxVisualAttributes
* resultptr
;
29156 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29165 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
;
29167 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29168 wxVisualAttributes result
;
29169 PyObject
* obj0
= 0 ;
29170 char *kwnames
[] = {
29171 (char *) "variant", NULL
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29177 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29178 if (SWIG_arg_fail(1)) SWIG_fail
;
29182 if (!wxPyCheckForApp()) SWIG_fail
;
29183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29184 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29190 wxVisualAttributes
* resultptr
;
29191 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29200 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
;
29202 wxWindow
*arg1
= (wxWindow
*) 0 ;
29203 wxColour
*arg2
= 0 ;
29206 PyObject
* obj0
= 0 ;
29207 PyObject
* obj1
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self",(char *) "colour", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29214 if (SWIG_arg_fail(1)) SWIG_fail
;
29217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29235 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
;
29237 wxWindow
*arg1
= (wxWindow
*) 0 ;
29238 wxColour
*arg2
= 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "self",(char *) "colour", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29248 if (SWIG_arg_fail(1)) SWIG_fail
;
29251 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 Py_INCREF(Py_None
); resultobj
= Py_None
;
29267 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
;
29269 wxWindow
*arg1
= (wxWindow
*) 0 ;
29270 wxColour
*arg2
= 0 ;
29273 PyObject
* obj0
= 0 ;
29274 PyObject
* obj1
= 0 ;
29275 char *kwnames
[] = {
29276 (char *) "self",(char *) "colour", NULL
29279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29281 if (SWIG_arg_fail(1)) SWIG_fail
;
29284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29302 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxWindow
*arg1
= (wxWindow
*) 0 ;
29305 wxColour
*arg2
= 0 ;
29307 PyObject
* obj0
= 0 ;
29308 PyObject
* obj1
= 0 ;
29309 char *kwnames
[] = {
29310 (char *) "self",(char *) "colour", NULL
29313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29315 if (SWIG_arg_fail(1)) SWIG_fail
;
29318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 Py_INCREF(Py_None
); resultobj
= Py_None
;
29334 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
;
29336 wxWindow
*arg1
= (wxWindow
*) 0 ;
29338 PyObject
* obj0
= 0 ;
29339 char *kwnames
[] = {
29340 (char *) "self", NULL
29343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29345 if (SWIG_arg_fail(1)) SWIG_fail
;
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 wxColour
* resultptr
;
29355 resultptr
= new wxColour((wxColour
&)(result
));
29356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29364 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
;
29366 wxWindow
*arg1
= (wxWindow
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29375 if (SWIG_arg_fail(1)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29384 wxColour
* resultptr
;
29385 resultptr
= new wxColour((wxColour
&)(result
));
29386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29394 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29395 PyObject
*resultobj
;
29396 wxWindow
*arg1
= (wxWindow
*) 0 ;
29397 wxBackgroundStyle arg2
;
29399 PyObject
* obj0
= 0 ;
29400 PyObject
* obj1
= 0 ;
29401 char *kwnames
[] = {
29402 (char *) "self",(char *) "style", NULL
29405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29407 if (SWIG_arg_fail(1)) SWIG_fail
;
29409 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29410 if (SWIG_arg_fail(2)) SWIG_fail
;
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29428 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
;
29430 wxWindow
*arg1
= (wxWindow
*) 0 ;
29431 wxBackgroundStyle result
;
29432 PyObject
* obj0
= 0 ;
29433 char *kwnames
[] = {
29434 (char *) "self", NULL
29437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29439 if (SWIG_arg_fail(1)) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= SWIG_From_int((result
));
29454 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxWindow
*arg1
= (wxWindow
*) 0 ;
29458 PyObject
* obj0
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= (bool)(arg1
)->HasTransparentBackground();
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29482 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxWindow
*arg1
= (wxWindow
*) 0 ;
29485 wxCursor
*arg2
= 0 ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 char *kwnames
[] = {
29490 (char *) "self",(char *) "cursor", NULL
29493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29495 if (SWIG_arg_fail(1)) SWIG_fail
;
29497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29498 if (SWIG_arg_fail(2)) SWIG_fail
;
29499 if (arg2
== NULL
) {
29500 SWIG_null_ref("wxCursor");
29502 if (SWIG_arg_fail(2)) SWIG_fail
;
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29520 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
;
29522 wxWindow
*arg1
= (wxWindow
*) 0 ;
29524 PyObject
* obj0
= 0 ;
29525 char *kwnames
[] = {
29526 (char *) "self", NULL
29529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29531 if (SWIG_arg_fail(1)) SWIG_fail
;
29533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29534 result
= (arg1
)->GetCursor();
29536 wxPyEndAllowThreads(__tstate
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29540 wxCursor
* resultptr
;
29541 resultptr
= new wxCursor((wxCursor
&)(result
));
29542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29550 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
;
29552 wxWindow
*arg1
= (wxWindow
*) 0 ;
29555 PyObject
* obj0
= 0 ;
29556 PyObject
* obj1
= 0 ;
29557 char *kwnames
[] = {
29558 (char *) "self",(char *) "font", NULL
29561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29563 if (SWIG_arg_fail(1)) SWIG_fail
;
29565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29566 if (SWIG_arg_fail(2)) SWIG_fail
;
29567 if (arg2
== NULL
) {
29568 SWIG_null_ref("wxFont");
29570 if (SWIG_arg_fail(2)) SWIG_fail
;
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29588 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
;
29590 wxWindow
*arg1
= (wxWindow
*) 0 ;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "font", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29600 if (SWIG_arg_fail(1)) SWIG_fail
;
29602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29603 if (SWIG_arg_fail(2)) SWIG_fail
;
29604 if (arg2
== NULL
) {
29605 SWIG_null_ref("wxFont");
29607 if (SWIG_arg_fail(2)) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 Py_INCREF(Py_None
); resultobj
= Py_None
;
29623 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxWindow
*arg1
= (wxWindow
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29634 if (SWIG_arg_fail(1)) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (arg1
)->GetFont();
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29643 wxFont
* resultptr
;
29644 resultptr
= new wxFont((wxFont
&)(result
));
29645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29653 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29654 PyObject
*resultobj
;
29655 wxWindow
*arg1
= (wxWindow
*) 0 ;
29656 wxCaret
*arg2
= (wxCaret
*) 0 ;
29657 PyObject
* obj0
= 0 ;
29658 PyObject
* obj1
= 0 ;
29659 char *kwnames
[] = {
29660 (char *) "self",(char *) "caret", NULL
29663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29665 if (SWIG_arg_fail(1)) SWIG_fail
;
29666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29667 if (SWIG_arg_fail(2)) SWIG_fail
;
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 (arg1
)->SetCaret(arg2
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 Py_INCREF(Py_None
); resultobj
= Py_None
;
29682 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
;
29684 wxWindow
*arg1
= (wxWindow
*) 0 ;
29686 PyObject
* obj0
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29693 if (SWIG_arg_fail(1)) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29708 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
;
29710 wxWindow
*arg1
= (wxWindow
*) 0 ;
29712 PyObject
* obj0
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29719 if (SWIG_arg_fail(1)) SWIG_fail
;
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= SWIG_From_int((int)(result
));
29736 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxWindow
*arg1
= (wxWindow
*) 0 ;
29740 PyObject
* obj0
= 0 ;
29741 char *kwnames
[] = {
29742 (char *) "self", NULL
29745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29747 if (SWIG_arg_fail(1)) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_From_int((int)(result
));
29764 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxWindow
*arg1
= (wxWindow
*) 0 ;
29767 wxString
*arg2
= 0 ;
29768 int *arg3
= (int *) 0 ;
29769 int *arg4
= (int *) 0 ;
29770 bool temp2
= false ;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 char *kwnames
[] = {
29778 (char *) "self",(char *) "string", NULL
29781 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29782 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29785 if (SWIG_arg_fail(1)) SWIG_fail
;
29787 arg2
= wxString_in_helper(obj1
);
29788 if (arg2
== NULL
) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29798 Py_INCREF(Py_None
); resultobj
= Py_None
;
29799 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29800 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29801 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29802 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29817 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxWindow
*arg1
= (wxWindow
*) 0 ;
29820 wxString
*arg2
= 0 ;
29821 int *arg3
= (int *) 0 ;
29822 int *arg4
= (int *) 0 ;
29823 int *arg5
= (int *) 0 ;
29824 int *arg6
= (int *) 0 ;
29825 wxFont
*arg7
= (wxFont
*) NULL
;
29826 bool temp2
= false ;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 PyObject
* obj2
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self",(char *) "string",(char *) "font", NULL
29842 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29843 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29844 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29845 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29848 if (SWIG_arg_fail(1)) SWIG_fail
;
29850 arg2
= wxString_in_helper(obj1
);
29851 if (arg2
== NULL
) SWIG_fail
;
29855 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29856 if (SWIG_arg_fail(7)) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 Py_INCREF(Py_None
); resultobj
= Py_None
;
29866 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29867 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29868 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29869 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29870 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29871 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29872 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29873 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29888 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
;
29890 wxWindow
*arg1
= (wxWindow
*) 0 ;
29891 int *arg2
= (int *) 0 ;
29892 int *arg3
= (int *) 0 ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 PyObject
* obj2
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "x",(char *) "y", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29906 if (SWIG_arg_fail(1)) SWIG_fail
;
29908 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29909 temp2
= SWIG_As_int(obj1
);
29910 if (SWIG_arg_fail(2)) SWIG_fail
;
29912 res2
= SWIG_NEWOBJ
;
29916 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29917 temp3
= SWIG_As_int(obj2
);
29918 if (SWIG_arg_fail(3)) SWIG_fail
;
29920 res3
= SWIG_NEWOBJ
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29930 Py_INCREF(Py_None
); resultobj
= Py_None
;
29931 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29932 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29933 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29934 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29941 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxWindow
*arg1
= (wxWindow
*) 0 ;
29944 int *arg2
= (int *) 0 ;
29945 int *arg3
= (int *) 0 ;
29950 PyObject
* obj0
= 0 ;
29951 PyObject
* obj1
= 0 ;
29952 PyObject
* obj2
= 0 ;
29953 char *kwnames
[] = {
29954 (char *) "self",(char *) "x",(char *) "y", NULL
29957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29959 if (SWIG_arg_fail(1)) SWIG_fail
;
29961 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29962 temp2
= SWIG_As_int(obj1
);
29963 if (SWIG_arg_fail(2)) SWIG_fail
;
29965 res2
= SWIG_NEWOBJ
;
29969 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29970 temp3
= SWIG_As_int(obj2
);
29971 if (SWIG_arg_fail(3)) SWIG_fail
;
29973 res3
= SWIG_NEWOBJ
;
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 Py_INCREF(Py_None
); resultobj
= Py_None
;
29984 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29985 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29986 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29987 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29994 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
;
29996 wxWindow
*arg1
= (wxWindow
*) 0 ;
29997 wxPoint
*arg2
= 0 ;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "self",(char *) "pt", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30008 if (SWIG_arg_fail(1)) SWIG_fail
;
30011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30021 wxPoint
* resultptr
;
30022 resultptr
= new wxPoint((wxPoint
&)(result
));
30023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30031 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
;
30033 wxWindow
*arg1
= (wxWindow
*) 0 ;
30034 wxPoint
*arg2
= 0 ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 char *kwnames
[] = {
30040 (char *) "self",(char *) "pt", NULL
30043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30045 if (SWIG_arg_fail(1)) SWIG_fail
;
30048 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30058 wxPoint
* resultptr
;
30059 resultptr
= new wxPoint((wxPoint
&)(result
));
30060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30068 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
;
30070 wxWindow
*arg1
= (wxWindow
*) 0 ;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 PyObject
* obj2
= 0 ;
30077 char *kwnames
[] = {
30078 (char *) "self",(char *) "x",(char *) "y", NULL
30081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30083 if (SWIG_arg_fail(1)) SWIG_fail
;
30085 arg2
= (int)(SWIG_As_int(obj1
));
30086 if (SWIG_arg_fail(2)) SWIG_fail
;
30089 arg3
= (int)(SWIG_As_int(obj2
));
30090 if (SWIG_arg_fail(3)) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= SWIG_From_int((result
));
30106 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
;
30108 wxWindow
*arg1
= (wxWindow
*) 0 ;
30109 wxPoint
*arg2
= 0 ;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 char *kwnames
[] = {
30115 (char *) "self",(char *) "pt", NULL
30118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30120 if (SWIG_arg_fail(1)) SWIG_fail
;
30123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_From_int((result
));
30139 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30140 PyObject
*resultobj
;
30141 wxWindow
*arg1
= (wxWindow
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30147 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30149 if (SWIG_arg_fail(1)) SWIG_fail
;
30151 arg2
= (long)(SWIG_As_long(obj1
));
30152 if (SWIG_arg_fail(2)) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_From_int((result
));
30168 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30169 PyObject
*resultobj
;
30170 wxWindow
*arg1
= (wxWindow
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30174 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30176 if (SWIG_arg_fail(1)) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_From_int((result
));
30191 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30196 argc
= PyObject_Length(args
);
30197 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30198 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30204 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30212 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30219 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30227 _v
= SWIG_Check_long(argv
[1]);
30229 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30234 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30239 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxWindow
*arg1
= (wxWindow
*) 0 ;
30242 long arg2
= (long) wxUPDATE_UI_NONE
;
30243 PyObject
* obj0
= 0 ;
30244 PyObject
* obj1
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "self",(char *) "flags", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30251 if (SWIG_arg_fail(1)) SWIG_fail
;
30254 arg2
= (long)(SWIG_As_long(obj1
));
30255 if (SWIG_arg_fail(2)) SWIG_fail
;
30259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30260 (arg1
)->UpdateWindowUI(arg2
);
30262 wxPyEndAllowThreads(__tstate
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30265 Py_INCREF(Py_None
); resultobj
= Py_None
;
30272 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
;
30274 wxWindow
*arg1
= (wxWindow
*) 0 ;
30275 wxMenu
*arg2
= (wxMenu
*) 0 ;
30276 int arg3
= (int) -1 ;
30277 int arg4
= (int) -1 ;
30279 PyObject
* obj0
= 0 ;
30280 PyObject
* obj1
= 0 ;
30281 PyObject
* obj2
= 0 ;
30282 PyObject
* obj3
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30289 if (SWIG_arg_fail(1)) SWIG_fail
;
30290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30291 if (SWIG_arg_fail(2)) SWIG_fail
;
30294 arg3
= (int)(SWIG_As_int(obj2
));
30295 if (SWIG_arg_fail(3)) SWIG_fail
;
30300 arg4
= (int)(SWIG_As_int(obj3
));
30301 if (SWIG_arg_fail(4)) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30320 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
;
30322 wxWindow
*arg1
= (wxWindow
*) 0 ;
30323 wxMenu
*arg2
= (wxMenu
*) 0 ;
30324 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30325 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 PyObject
* obj2
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self",(char *) "menu",(char *) "pos", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(1)) SWIG_fail
;
30338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30339 if (SWIG_arg_fail(2)) SWIG_fail
;
30343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30362 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxWindow
*arg1
= (wxWindow
*) 0 ;
30366 PyObject
* obj0
= 0 ;
30367 char *kwnames
[] = {
30368 (char *) "self", NULL
30371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30373 if (SWIG_arg_fail(1)) SWIG_fail
;
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 result
= (long)wxWindow_GetHandle(arg1
);
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= SWIG_From_long((long)(result
));
30390 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxWindow
*arg1
= (wxWindow
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self",(char *) "handle", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30402 if (SWIG_arg_fail(1)) SWIG_fail
;
30404 arg2
= (long)(SWIG_As_long(obj1
));
30405 if (SWIG_arg_fail(2)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 wxWindow_AssociateHandle(arg1
,arg2
);
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30414 Py_INCREF(Py_None
); resultobj
= Py_None
;
30421 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30422 PyObject
*resultobj
;
30423 wxWindow
*arg1
= (wxWindow
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 char *kwnames
[] = {
30426 (char *) "self", NULL
30429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30431 if (SWIG_arg_fail(1)) SWIG_fail
;
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 (arg1
)->DissociateHandle();
30436 wxPyEndAllowThreads(__tstate
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30439 Py_INCREF(Py_None
); resultobj
= Py_None
;
30446 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30447 PyObject
*resultobj
;
30448 wxWindow
*arg1
= (wxWindow
*) 0 ;
30449 wxPaintEvent
*arg2
= 0 ;
30450 PyObject
* obj0
= 0 ;
30451 PyObject
* obj1
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self",(char *) "event", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30458 if (SWIG_arg_fail(1)) SWIG_fail
;
30460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30461 if (SWIG_arg_fail(2)) SWIG_fail
;
30462 if (arg2
== NULL
) {
30463 SWIG_null_ref("wxPaintEvent");
30465 if (SWIG_arg_fail(2)) SWIG_fail
;
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 (arg1
)->OnPaint(*arg2
);
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30474 Py_INCREF(Py_None
); resultobj
= Py_None
;
30481 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
;
30483 wxWindow
*arg1
= (wxWindow
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self",(char *) "orient", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30494 if (SWIG_arg_fail(1)) SWIG_fail
;
30496 arg2
= (int)(SWIG_As_int(obj1
));
30497 if (SWIG_arg_fail(2)) SWIG_fail
;
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30515 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxWindow
*arg1
= (wxWindow
*) 0 ;
30522 bool arg6
= (bool) true ;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 PyObject
* obj2
= 0 ;
30526 PyObject
* obj3
= 0 ;
30527 PyObject
* obj4
= 0 ;
30528 PyObject
* obj5
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30535 if (SWIG_arg_fail(1)) SWIG_fail
;
30537 arg2
= (int)(SWIG_As_int(obj1
));
30538 if (SWIG_arg_fail(2)) SWIG_fail
;
30541 arg3
= (int)(SWIG_As_int(obj2
));
30542 if (SWIG_arg_fail(3)) SWIG_fail
;
30545 arg4
= (int)(SWIG_As_int(obj3
));
30546 if (SWIG_arg_fail(4)) SWIG_fail
;
30549 arg5
= (int)(SWIG_As_int(obj4
));
30550 if (SWIG_arg_fail(5)) SWIG_fail
;
30554 arg6
= (bool)(SWIG_As_bool(obj5
));
30555 if (SWIG_arg_fail(6)) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 Py_INCREF(Py_None
); resultobj
= Py_None
;
30572 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxWindow
*arg1
= (wxWindow
*) 0 ;
30577 bool arg4
= (bool) true ;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 PyObject
* obj2
= 0 ;
30581 PyObject
* obj3
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail
;
30590 arg2
= (int)(SWIG_As_int(obj1
));
30591 if (SWIG_arg_fail(2)) SWIG_fail
;
30594 arg3
= (int)(SWIG_As_int(obj2
));
30595 if (SWIG_arg_fail(3)) SWIG_fail
;
30599 arg4
= (bool)(SWIG_As_bool(obj3
));
30600 if (SWIG_arg_fail(4)) SWIG_fail
;
30604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30605 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 Py_INCREF(Py_None
); resultobj
= Py_None
;
30617 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
;
30619 wxWindow
*arg1
= (wxWindow
*) 0 ;
30622 PyObject
* obj0
= 0 ;
30623 PyObject
* obj1
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self",(char *) "orientation", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30639 wxPyEndAllowThreads(__tstate
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30643 resultobj
= SWIG_From_int((int)(result
));
30651 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
;
30653 wxWindow
*arg1
= (wxWindow
*) 0 ;
30656 PyObject
* obj0
= 0 ;
30657 PyObject
* obj1
= 0 ;
30658 char *kwnames
[] = {
30659 (char *) "self",(char *) "orientation", NULL
30662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30664 if (SWIG_arg_fail(1)) SWIG_fail
;
30666 arg2
= (int)(SWIG_As_int(obj1
));
30667 if (SWIG_arg_fail(2)) SWIG_fail
;
30670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_From_int((int)(result
));
30685 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxWindow
*arg1
= (wxWindow
*) 0 ;
30690 PyObject
* obj0
= 0 ;
30691 PyObject
* obj1
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "self",(char *) "orientation", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30698 if (SWIG_arg_fail(1)) SWIG_fail
;
30700 arg2
= (int)(SWIG_As_int(obj1
));
30701 if (SWIG_arg_fail(2)) SWIG_fail
;
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30707 wxPyEndAllowThreads(__tstate
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_From_int((int)(result
));
30719 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 wxWindow
*arg1
= (wxWindow
*) 0 ;
30724 wxRect
*arg4
= (wxRect
*) NULL
;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 PyObject
* obj2
= 0 ;
30728 PyObject
* obj3
= 0 ;
30729 char *kwnames
[] = {
30730 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30735 if (SWIG_arg_fail(1)) SWIG_fail
;
30737 arg2
= (int)(SWIG_As_int(obj1
));
30738 if (SWIG_arg_fail(2)) SWIG_fail
;
30741 arg3
= (int)(SWIG_As_int(obj2
));
30742 if (SWIG_arg_fail(3)) SWIG_fail
;
30745 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30746 if (SWIG_arg_fail(4)) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30755 Py_INCREF(Py_None
); resultobj
= Py_None
;
30762 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30763 PyObject
*resultobj
;
30764 wxWindow
*arg1
= (wxWindow
*) 0 ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self",(char *) "lines", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30775 if (SWIG_arg_fail(1)) SWIG_fail
;
30777 arg2
= (int)(SWIG_As_int(obj1
));
30778 if (SWIG_arg_fail(2)) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (bool)(arg1
)->ScrollLines(arg2
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30796 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxWindow
*arg1
= (wxWindow
*) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self",(char *) "pages", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30809 if (SWIG_arg_fail(1)) SWIG_fail
;
30811 arg2
= (int)(SWIG_As_int(obj1
));
30812 if (SWIG_arg_fail(2)) SWIG_fail
;
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (bool)(arg1
)->ScrollPages(arg2
);
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30830 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 wxWindow
*arg1
= (wxWindow
*) 0 ;
30834 PyObject
* obj0
= 0 ;
30835 char *kwnames
[] = {
30836 (char *) "self", NULL
30839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30841 if (SWIG_arg_fail(1)) SWIG_fail
;
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 result
= (bool)(arg1
)->LineUp();
30846 wxPyEndAllowThreads(__tstate
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30858 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxWindow
*arg1
= (wxWindow
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30869 if (SWIG_arg_fail(1)) SWIG_fail
;
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (bool)(arg1
)->LineDown();
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30886 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
;
30888 wxWindow
*arg1
= (wxWindow
*) 0 ;
30890 PyObject
* obj0
= 0 ;
30891 char *kwnames
[] = {
30892 (char *) "self", NULL
30895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30897 if (SWIG_arg_fail(1)) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (bool)(arg1
)->PageUp();
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30914 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30915 PyObject
*resultobj
;
30916 wxWindow
*arg1
= (wxWindow
*) 0 ;
30918 PyObject
* obj0
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "self", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail
;
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= (bool)(arg1
)->PageDown();
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30942 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
;
30944 wxWindow
*arg1
= (wxWindow
*) 0 ;
30945 wxString
*arg2
= 0 ;
30946 bool temp2
= false ;
30947 PyObject
* obj0
= 0 ;
30948 PyObject
* obj1
= 0 ;
30949 char *kwnames
[] = {
30950 (char *) "self",(char *) "text", NULL
30953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30955 if (SWIG_arg_fail(1)) SWIG_fail
;
30957 arg2
= wxString_in_helper(obj1
);
30958 if (arg2
== NULL
) SWIG_fail
;
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30968 Py_INCREF(Py_None
); resultobj
= Py_None
;
30983 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30985 wxWindow
*arg1
= (wxWindow
*) 0 ;
30986 wxString
*arg2
= 0 ;
30987 bool temp2
= false ;
30988 PyObject
* obj0
= 0 ;
30989 PyObject
* obj1
= 0 ;
30990 char *kwnames
[] = {
30991 (char *) "self",(char *) "text", NULL
30994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30996 if (SWIG_arg_fail(1)) SWIG_fail
;
30998 arg2
= wxString_in_helper(obj1
);
30999 if (arg2
== NULL
) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 Py_INCREF(Py_None
); resultobj
= Py_None
;
31024 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxWindow
*arg1
= (wxWindow
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 char *kwnames
[] = {
31030 (char *) "self", NULL
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31035 if (SWIG_arg_fail(1)) SWIG_fail
;
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31056 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
;
31058 wxWindow
*arg1
= (wxWindow
*) 0 ;
31059 wxString
*arg2
= 0 ;
31060 bool temp2
= false ;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "self",(char *) "tip", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31069 if (SWIG_arg_fail(1)) SWIG_fail
;
31071 arg2
= wxString_in_helper(obj1
);
31072 if (arg2
== NULL
) SWIG_fail
;
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 Py_INCREF(Py_None
); resultobj
= Py_None
;
31097 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxWindow
*arg1
= (wxWindow
*) 0 ;
31100 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 char *kwnames
[] = {
31104 (char *) "self",(char *) "tip", NULL
31107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31109 if (SWIG_arg_fail(1)) SWIG_fail
;
31110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31111 if (SWIG_arg_fail(2)) SWIG_fail
;
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 (arg1
)->SetToolTip(arg2
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 Py_INCREF(Py_None
); resultobj
= Py_None
;
31126 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxWindow
*arg1
= (wxWindow
*) 0 ;
31130 PyObject
* obj0
= 0 ;
31131 char *kwnames
[] = {
31132 (char *) "self", NULL
31135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31137 if (SWIG_arg_fail(1)) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31146 resultobj
= wxPyMake_wxObject(result
, 0);
31154 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
;
31156 wxWindow
*arg1
= (wxWindow
*) 0 ;
31157 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self",(char *) "dropTarget", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31166 if (SWIG_arg_fail(1)) SWIG_fail
;
31167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31168 if (SWIG_arg_fail(2)) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 (arg1
)->SetDropTarget(arg2
);
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31176 Py_INCREF(Py_None
); resultobj
= Py_None
;
31183 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
;
31185 wxWindow
*arg1
= (wxWindow
*) 0 ;
31186 wxPyDropTarget
*result
;
31187 PyObject
* obj0
= 0 ;
31188 char *kwnames
[] = {
31189 (char *) "self", NULL
31192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31194 if (SWIG_arg_fail(1)) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31209 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxWindow
*arg1
= (wxWindow
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char *kwnames
[] = {
31216 (char *) "self",(char *) "accept", NULL
31219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31221 if (SWIG_arg_fail(1)) SWIG_fail
;
31223 arg2
= (bool)(SWIG_As_bool(obj1
));
31224 if (SWIG_arg_fail(2)) SWIG_fail
;
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 (arg1
)->DragAcceptFiles(arg2
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 Py_INCREF(Py_None
); resultobj
= Py_None
;
31240 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
;
31242 wxWindow
*arg1
= (wxWindow
*) 0 ;
31243 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "constraints", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31252 if (SWIG_arg_fail(1)) SWIG_fail
;
31253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31254 if (SWIG_arg_fail(2)) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 (arg1
)->SetConstraints(arg2
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 Py_INCREF(Py_None
); resultobj
= Py_None
;
31269 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
;
31271 wxWindow
*arg1
= (wxWindow
*) 0 ;
31272 wxLayoutConstraints
*result
;
31273 PyObject
* obj0
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31280 if (SWIG_arg_fail(1)) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31295 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31296 PyObject
*resultobj
;
31297 wxWindow
*arg1
= (wxWindow
*) 0 ;
31299 PyObject
* obj0
= 0 ;
31300 PyObject
* obj1
= 0 ;
31301 char *kwnames
[] = {
31302 (char *) "self",(char *) "autoLayout", NULL
31305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31307 if (SWIG_arg_fail(1)) SWIG_fail
;
31309 arg2
= (bool)(SWIG_As_bool(obj1
));
31310 if (SWIG_arg_fail(2)) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 (arg1
)->SetAutoLayout(arg2
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31319 Py_INCREF(Py_None
); resultobj
= Py_None
;
31326 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxWindow
*arg1
= (wxWindow
*) 0 ;
31330 PyObject
* obj0
= 0 ;
31331 char *kwnames
[] = {
31332 (char *) "self", NULL
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31337 if (SWIG_arg_fail(1)) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31354 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
;
31356 wxWindow
*arg1
= (wxWindow
*) 0 ;
31358 PyObject
* obj0
= 0 ;
31359 char *kwnames
[] = {
31360 (char *) "self", NULL
31363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31365 if (SWIG_arg_fail(1)) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (bool)(arg1
)->Layout();
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31382 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxWindow
*arg1
= (wxWindow
*) 0 ;
31385 wxSizer
*arg2
= (wxSizer
*) 0 ;
31386 bool arg3
= (bool) true ;
31387 PyObject
* obj0
= 0 ;
31388 PyObject
* obj1
= 0 ;
31389 PyObject
* obj2
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31396 if (SWIG_arg_fail(1)) SWIG_fail
;
31397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31398 if (SWIG_arg_fail(2)) SWIG_fail
;
31401 arg3
= (bool)(SWIG_As_bool(obj2
));
31402 if (SWIG_arg_fail(3)) SWIG_fail
;
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 (arg1
)->SetSizer(arg2
,arg3
);
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31412 Py_INCREF(Py_None
); resultobj
= Py_None
;
31419 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
;
31421 wxWindow
*arg1
= (wxWindow
*) 0 ;
31422 wxSizer
*arg2
= (wxSizer
*) 0 ;
31423 bool arg3
= (bool) true ;
31424 PyObject
* obj0
= 0 ;
31425 PyObject
* obj1
= 0 ;
31426 PyObject
* obj2
= 0 ;
31427 char *kwnames
[] = {
31428 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31433 if (SWIG_arg_fail(1)) SWIG_fail
;
31434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31435 if (SWIG_arg_fail(2)) SWIG_fail
;
31438 arg3
= (bool)(SWIG_As_bool(obj2
));
31439 if (SWIG_arg_fail(3)) SWIG_fail
;
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 Py_INCREF(Py_None
); resultobj
= Py_None
;
31456 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxWindow
*arg1
= (wxWindow
*) 0 ;
31460 PyObject
* obj0
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "self", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31467 if (SWIG_arg_fail(1)) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= wxPyMake_wxSizer(result
, 0);
31484 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxWindow
*arg1
= (wxWindow
*) 0 ;
31487 wxSizer
*arg2
= (wxSizer
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self",(char *) "sizer", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31496 if (SWIG_arg_fail(1)) SWIG_fail
;
31497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31498 if (SWIG_arg_fail(2)) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 (arg1
)->SetContainingSizer(arg2
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 Py_INCREF(Py_None
); resultobj
= Py_None
;
31513 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
;
31515 wxWindow
*arg1
= (wxWindow
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "self", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31524 if (SWIG_arg_fail(1)) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= wxPyMake_wxSizer(result
, 0);
31541 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
;
31543 wxWindow
*arg1
= (wxWindow
*) 0 ;
31544 PyObject
* obj0
= 0 ;
31545 char *kwnames
[] = {
31546 (char *) "self", NULL
31549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31551 if (SWIG_arg_fail(1)) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 (arg1
)->InheritAttributes();
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 Py_INCREF(Py_None
); resultobj
= Py_None
;
31566 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
;
31568 wxWindow
*arg1
= (wxWindow
*) 0 ;
31570 PyObject
* obj0
= 0 ;
31571 char *kwnames
[] = {
31572 (char *) "self", NULL
31575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31577 if (SWIG_arg_fail(1)) SWIG_fail
;
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31594 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31597 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31599 return Py_BuildValue((char *)"");
31601 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31602 PyObject
*resultobj
;
31604 wxWindow
*arg2
= (wxWindow
*) NULL
;
31606 PyObject
* obj0
= 0 ;
31607 PyObject
* obj1
= 0 ;
31608 char *kwnames
[] = {
31609 (char *) "id",(char *) "parent", NULL
31612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31614 arg1
= (long)(SWIG_As_long(obj0
));
31615 if (SWIG_arg_fail(1)) SWIG_fail
;
31618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31619 if (SWIG_arg_fail(2)) SWIG_fail
;
31622 if (!wxPyCheckForApp()) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= wxPyMake_wxObject(result
, 0);
31638 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxString
*arg1
= 0 ;
31641 wxWindow
*arg2
= (wxWindow
*) NULL
;
31643 bool temp1
= false ;
31644 PyObject
* obj0
= 0 ;
31645 PyObject
* obj1
= 0 ;
31646 char *kwnames
[] = {
31647 (char *) "name",(char *) "parent", NULL
31650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31652 arg1
= wxString_in_helper(obj0
);
31653 if (arg1
== NULL
) SWIG_fail
;
31657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31658 if (SWIG_arg_fail(2)) SWIG_fail
;
31661 if (!wxPyCheckForApp()) SWIG_fail
;
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31669 resultobj
= wxPyMake_wxObject(result
, 0);
31685 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
;
31687 wxString
*arg1
= 0 ;
31688 wxWindow
*arg2
= (wxWindow
*) NULL
;
31690 bool temp1
= false ;
31691 PyObject
* obj0
= 0 ;
31692 PyObject
* obj1
= 0 ;
31693 char *kwnames
[] = {
31694 (char *) "label",(char *) "parent", NULL
31697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31699 arg1
= wxString_in_helper(obj0
);
31700 if (arg1
== NULL
) SWIG_fail
;
31704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31705 if (SWIG_arg_fail(2)) SWIG_fail
;
31708 if (!wxPyCheckForApp()) SWIG_fail
;
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31712 wxPyEndAllowThreads(__tstate
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31716 resultobj
= wxPyMake_wxObject(result
, 0);
31732 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
;
31734 wxWindow
*arg1
= (wxWindow
*) 0 ;
31735 unsigned long arg2
;
31737 PyObject
* obj0
= 0 ;
31738 PyObject
* obj1
= 0 ;
31739 char *kwnames
[] = {
31740 (char *) "parent",(char *) "_hWnd", NULL
31743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31745 if (SWIG_arg_fail(1)) SWIG_fail
;
31747 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31748 if (SWIG_arg_fail(2)) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= wxPyMake_wxObject(result
, 0);
31766 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31767 PyObject
*resultobj
;
31768 wxValidator
*result
;
31769 char *kwnames
[] = {
31773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 result
= (wxValidator
*)new wxValidator();
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31788 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
;
31790 wxValidator
*arg1
= (wxValidator
*) 0 ;
31791 wxValidator
*result
;
31792 PyObject
* obj0
= 0 ;
31793 char *kwnames
[] = {
31794 (char *) "self", NULL
31797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31799 if (SWIG_arg_fail(1)) SWIG_fail
;
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 result
= (wxValidator
*)(arg1
)->Clone();
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31808 resultobj
= wxPyMake_wxObject(result
, 0);
31816 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
;
31818 wxValidator
*arg1
= (wxValidator
*) 0 ;
31819 wxWindow
*arg2
= (wxWindow
*) 0 ;
31821 PyObject
* obj0
= 0 ;
31822 PyObject
* obj1
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self",(char *) "parent", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31829 if (SWIG_arg_fail(1)) SWIG_fail
;
31830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31831 if (SWIG_arg_fail(2)) SWIG_fail
;
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 result
= (bool)(arg1
)->Validate(arg2
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31848 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31849 PyObject
*resultobj
;
31850 wxValidator
*arg1
= (wxValidator
*) 0 ;
31852 PyObject
* obj0
= 0 ;
31853 char *kwnames
[] = {
31854 (char *) "self", NULL
31857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31859 if (SWIG_arg_fail(1)) SWIG_fail
;
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 result
= (bool)(arg1
)->TransferToWindow();
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31876 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31878 wxValidator
*arg1
= (wxValidator
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 char *kwnames
[] = {
31882 (char *) "self", NULL
31885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31887 if (SWIG_arg_fail(1)) SWIG_fail
;
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 result
= (bool)(arg1
)->TransferFromWindow();
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31904 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31905 PyObject
*resultobj
;
31906 wxValidator
*arg1
= (wxValidator
*) 0 ;
31908 PyObject
* obj0
= 0 ;
31909 char *kwnames
[] = {
31910 (char *) "self", NULL
31913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31915 if (SWIG_arg_fail(1)) SWIG_fail
;
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= (wxWindow
*)(arg1
)->GetWindow();
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= wxPyMake_wxObject(result
, 0);
31932 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
;
31934 wxValidator
*arg1
= (wxValidator
*) 0 ;
31935 wxWindow
*arg2
= (wxWindow
*) 0 ;
31936 PyObject
* obj0
= 0 ;
31937 PyObject
* obj1
= 0 ;
31938 char *kwnames
[] = {
31939 (char *) "self",(char *) "window", NULL
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31944 if (SWIG_arg_fail(1)) SWIG_fail
;
31945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31946 if (SWIG_arg_fail(2)) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 (arg1
)->SetWindow(arg2
);
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31954 Py_INCREF(Py_None
); resultobj
= Py_None
;
31961 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31962 PyObject
*resultobj
;
31964 char *kwnames
[] = {
31968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (bool)wxValidator::IsSilent();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31985 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
;
31987 int arg1
= (int) true ;
31988 PyObject
* obj0
= 0 ;
31989 char *kwnames
[] = {
31990 (char *) "doIt", NULL
31993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31996 arg1
= (int)(SWIG_As_int(obj0
));
31997 if (SWIG_arg_fail(1)) SWIG_fail
;
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 wxValidator::SetBellOnError(arg1
);
32004 wxPyEndAllowThreads(__tstate
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 Py_INCREF(Py_None
); resultobj
= Py_None
;
32014 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32017 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32019 return Py_BuildValue((char *)"");
32021 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
;
32023 wxPyValidator
*result
;
32024 char *kwnames
[] = {
32028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 result
= (wxPyValidator
*)new wxPyValidator();
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32043 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
;
32045 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32046 PyObject
*arg2
= (PyObject
*) 0 ;
32047 PyObject
*arg3
= (PyObject
*) 0 ;
32048 int arg4
= (int) true ;
32049 PyObject
* obj0
= 0 ;
32050 PyObject
* obj1
= 0 ;
32051 PyObject
* obj2
= 0 ;
32052 PyObject
* obj3
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32059 if (SWIG_arg_fail(1)) SWIG_fail
;
32064 arg4
= (int)(SWIG_As_int(obj3
));
32065 if (SWIG_arg_fail(4)) SWIG_fail
;
32069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32070 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32075 Py_INCREF(Py_None
); resultobj
= Py_None
;
32082 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32085 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32087 return Py_BuildValue((char *)"");
32089 static int _wrap_DefaultValidator_set(PyObject
*) {
32090 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32095 static PyObject
*_wrap_DefaultValidator_get(void) {
32098 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32103 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
;
32105 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32106 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32107 long arg2
= (long) 0 ;
32109 bool temp1
= false ;
32110 PyObject
* obj0
= 0 ;
32111 PyObject
* obj1
= 0 ;
32112 char *kwnames
[] = {
32113 (char *) "title",(char *) "style", NULL
32116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32119 arg1
= wxString_in_helper(obj0
);
32120 if (arg1
== NULL
) SWIG_fail
;
32126 arg2
= (long)(SWIG_As_long(obj1
));
32127 if (SWIG_arg_fail(2)) SWIG_fail
;
32131 if (!wxPyCheckForApp()) SWIG_fail
;
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32153 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32154 PyObject
*resultobj
;
32155 wxMenu
*arg1
= (wxMenu
*) 0 ;
32157 wxString
*arg3
= 0 ;
32158 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32159 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32160 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32161 wxMenuItem
*result
;
32162 bool temp3
= false ;
32163 bool temp4
= false ;
32164 PyObject
* obj0
= 0 ;
32165 PyObject
* obj1
= 0 ;
32166 PyObject
* obj2
= 0 ;
32167 PyObject
* obj3
= 0 ;
32168 PyObject
* obj4
= 0 ;
32169 char *kwnames
[] = {
32170 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32175 if (SWIG_arg_fail(1)) SWIG_fail
;
32177 arg2
= (int)(SWIG_As_int(obj1
));
32178 if (SWIG_arg_fail(2)) SWIG_fail
;
32181 arg3
= wxString_in_helper(obj2
);
32182 if (arg3
== NULL
) SWIG_fail
;
32187 arg4
= wxString_in_helper(obj3
);
32188 if (arg4
== NULL
) SWIG_fail
;
32194 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32195 if (SWIG_arg_fail(5)) SWIG_fail
;
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32206 resultobj
= wxPyMake_wxObject(result
, 0);
32230 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
;
32232 wxMenu
*arg1
= (wxMenu
*) 0 ;
32233 wxMenuItem
*result
;
32234 PyObject
* obj0
= 0 ;
32235 char *kwnames
[] = {
32236 (char *) "self", NULL
32239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32241 if (SWIG_arg_fail(1)) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= wxPyMake_wxObject(result
, 0);
32258 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
;
32260 wxMenu
*arg1
= (wxMenu
*) 0 ;
32262 wxString
*arg3
= 0 ;
32263 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32264 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32265 wxMenuItem
*result
;
32266 bool temp3
= false ;
32267 bool temp4
= false ;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 PyObject
* obj2
= 0 ;
32271 PyObject
* obj3
= 0 ;
32272 char *kwnames
[] = {
32273 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32278 if (SWIG_arg_fail(1)) SWIG_fail
;
32280 arg2
= (int)(SWIG_As_int(obj1
));
32281 if (SWIG_arg_fail(2)) SWIG_fail
;
32284 arg3
= wxString_in_helper(obj2
);
32285 if (arg3
== NULL
) SWIG_fail
;
32290 arg4
= wxString_in_helper(obj3
);
32291 if (arg4
== NULL
) SWIG_fail
;
32296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32297 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32299 wxPyEndAllowThreads(__tstate
);
32300 if (PyErr_Occurred()) SWIG_fail
;
32303 resultobj
= wxPyMake_wxObject(result
, 0);
32327 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
;
32329 wxMenu
*arg1
= (wxMenu
*) 0 ;
32331 wxString
*arg3
= 0 ;
32332 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32333 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32334 wxMenuItem
*result
;
32335 bool temp3
= false ;
32336 bool temp4
= false ;
32337 PyObject
* obj0
= 0 ;
32338 PyObject
* obj1
= 0 ;
32339 PyObject
* obj2
= 0 ;
32340 PyObject
* obj3
= 0 ;
32341 char *kwnames
[] = {
32342 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32347 if (SWIG_arg_fail(1)) SWIG_fail
;
32349 arg2
= (int)(SWIG_As_int(obj1
));
32350 if (SWIG_arg_fail(2)) SWIG_fail
;
32353 arg3
= wxString_in_helper(obj2
);
32354 if (arg3
== NULL
) SWIG_fail
;
32359 arg4
= wxString_in_helper(obj3
);
32360 if (arg4
== NULL
) SWIG_fail
;
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32372 resultobj
= wxPyMake_wxObject(result
, 0);
32396 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
;
32398 wxMenu
*arg1
= (wxMenu
*) 0 ;
32400 wxString
*arg3
= 0 ;
32401 wxMenu
*arg4
= (wxMenu
*) 0 ;
32402 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32403 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32404 wxMenuItem
*result
;
32405 bool temp3
= false ;
32406 bool temp5
= false ;
32407 PyObject
* obj0
= 0 ;
32408 PyObject
* obj1
= 0 ;
32409 PyObject
* obj2
= 0 ;
32410 PyObject
* obj3
= 0 ;
32411 PyObject
* obj4
= 0 ;
32412 char *kwnames
[] = {
32413 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32418 if (SWIG_arg_fail(1)) SWIG_fail
;
32420 arg2
= (int)(SWIG_As_int(obj1
));
32421 if (SWIG_arg_fail(2)) SWIG_fail
;
32424 arg3
= wxString_in_helper(obj2
);
32425 if (arg3
== NULL
) SWIG_fail
;
32428 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32429 if (SWIG_arg_fail(4)) SWIG_fail
;
32432 arg5
= wxString_in_helper(obj4
);
32433 if (arg5
== NULL
) SWIG_fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32445 resultobj
= wxPyMake_wxObject(result
, 0);
32469 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
;
32471 wxMenu
*arg1
= (wxMenu
*) 0 ;
32472 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32473 wxMenuItem
*result
;
32474 PyObject
* obj0
= 0 ;
32475 PyObject
* obj1
= 0 ;
32476 char *kwnames
[] = {
32477 (char *) "self",(char *) "item", NULL
32480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32482 if (SWIG_arg_fail(1)) SWIG_fail
;
32483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32484 if (SWIG_arg_fail(2)) SWIG_fail
;
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32493 resultobj
= wxPyMake_wxObject(result
, 0);
32501 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
;
32503 wxMenu
*arg1
= (wxMenu
*) 0 ;
32504 PyObject
* obj0
= 0 ;
32505 char *kwnames
[] = {
32506 (char *) "self", NULL
32509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32511 if (SWIG_arg_fail(1)) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 Py_INCREF(Py_None
); resultobj
= Py_None
;
32526 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32528 wxMenu
*arg1
= (wxMenu
*) 0 ;
32530 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32531 wxMenuItem
*result
;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 PyObject
* obj2
= 0 ;
32535 char *kwnames
[] = {
32536 (char *) "self",(char *) "pos",(char *) "item", NULL
32539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32541 if (SWIG_arg_fail(1)) SWIG_fail
;
32543 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32544 if (SWIG_arg_fail(2)) SWIG_fail
;
32546 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32547 if (SWIG_arg_fail(3)) SWIG_fail
;
32549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32550 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32552 wxPyEndAllowThreads(__tstate
);
32553 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= wxPyMake_wxObject(result
, 0);
32564 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32565 PyObject
*resultobj
;
32566 wxMenu
*arg1
= (wxMenu
*) 0 ;
32569 wxString
*arg4
= 0 ;
32570 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32571 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32572 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32573 wxMenuItem
*result
;
32574 bool temp4
= false ;
32575 bool temp5
= false ;
32576 PyObject
* obj0
= 0 ;
32577 PyObject
* obj1
= 0 ;
32578 PyObject
* obj2
= 0 ;
32579 PyObject
* obj3
= 0 ;
32580 PyObject
* obj4
= 0 ;
32581 PyObject
* obj5
= 0 ;
32582 char *kwnames
[] = {
32583 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32588 if (SWIG_arg_fail(1)) SWIG_fail
;
32590 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32591 if (SWIG_arg_fail(2)) SWIG_fail
;
32594 arg3
= (int)(SWIG_As_int(obj2
));
32595 if (SWIG_arg_fail(3)) SWIG_fail
;
32598 arg4
= wxString_in_helper(obj3
);
32599 if (arg4
== NULL
) SWIG_fail
;
32604 arg5
= wxString_in_helper(obj4
);
32605 if (arg5
== NULL
) SWIG_fail
;
32611 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32612 if (SWIG_arg_fail(6)) SWIG_fail
;
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= wxPyMake_wxObject(result
, 0);
32647 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32648 PyObject
*resultobj
;
32649 wxMenu
*arg1
= (wxMenu
*) 0 ;
32651 wxMenuItem
*result
;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 char *kwnames
[] = {
32655 (char *) "self",(char *) "pos", NULL
32658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32660 if (SWIG_arg_fail(1)) SWIG_fail
;
32662 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32663 if (SWIG_arg_fail(2)) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= wxPyMake_wxObject(result
, 0);
32681 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32682 PyObject
*resultobj
;
32683 wxMenu
*arg1
= (wxMenu
*) 0 ;
32686 wxString
*arg4
= 0 ;
32687 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32688 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32689 wxMenuItem
*result
;
32690 bool temp4
= false ;
32691 bool temp5
= false ;
32692 PyObject
* obj0
= 0 ;
32693 PyObject
* obj1
= 0 ;
32694 PyObject
* obj2
= 0 ;
32695 PyObject
* obj3
= 0 ;
32696 PyObject
* obj4
= 0 ;
32697 char *kwnames
[] = {
32698 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32703 if (SWIG_arg_fail(1)) SWIG_fail
;
32705 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32706 if (SWIG_arg_fail(2)) SWIG_fail
;
32709 arg3
= (int)(SWIG_As_int(obj2
));
32710 if (SWIG_arg_fail(3)) SWIG_fail
;
32713 arg4
= wxString_in_helper(obj3
);
32714 if (arg4
== NULL
) SWIG_fail
;
32719 arg5
= wxString_in_helper(obj4
);
32720 if (arg5
== NULL
) SWIG_fail
;
32725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32726 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32728 wxPyEndAllowThreads(__tstate
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32732 resultobj
= wxPyMake_wxObject(result
, 0);
32756 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
;
32758 wxMenu
*arg1
= (wxMenu
*) 0 ;
32761 wxString
*arg4
= 0 ;
32762 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32763 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32764 wxMenuItem
*result
;
32765 bool temp4
= false ;
32766 bool temp5
= false ;
32767 PyObject
* obj0
= 0 ;
32768 PyObject
* obj1
= 0 ;
32769 PyObject
* obj2
= 0 ;
32770 PyObject
* obj3
= 0 ;
32771 PyObject
* obj4
= 0 ;
32772 char *kwnames
[] = {
32773 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32778 if (SWIG_arg_fail(1)) SWIG_fail
;
32780 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32781 if (SWIG_arg_fail(2)) SWIG_fail
;
32784 arg3
= (int)(SWIG_As_int(obj2
));
32785 if (SWIG_arg_fail(3)) SWIG_fail
;
32788 arg4
= wxString_in_helper(obj3
);
32789 if (arg4
== NULL
) SWIG_fail
;
32794 arg5
= wxString_in_helper(obj4
);
32795 if (arg5
== NULL
) SWIG_fail
;
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32807 resultobj
= wxPyMake_wxObject(result
, 0);
32831 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxMenu
*arg1
= (wxMenu
*) 0 ;
32836 wxString
*arg4
= 0 ;
32837 wxMenu
*arg5
= (wxMenu
*) 0 ;
32838 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32839 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32840 wxMenuItem
*result
;
32841 bool temp4
= false ;
32842 bool temp6
= false ;
32843 PyObject
* obj0
= 0 ;
32844 PyObject
* obj1
= 0 ;
32845 PyObject
* obj2
= 0 ;
32846 PyObject
* obj3
= 0 ;
32847 PyObject
* obj4
= 0 ;
32848 PyObject
* obj5
= 0 ;
32849 char *kwnames
[] = {
32850 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32855 if (SWIG_arg_fail(1)) SWIG_fail
;
32857 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32858 if (SWIG_arg_fail(2)) SWIG_fail
;
32861 arg3
= (int)(SWIG_As_int(obj2
));
32862 if (SWIG_arg_fail(3)) SWIG_fail
;
32865 arg4
= wxString_in_helper(obj3
);
32866 if (arg4
== NULL
) SWIG_fail
;
32869 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32870 if (SWIG_arg_fail(5)) SWIG_fail
;
32873 arg6
= wxString_in_helper(obj5
);
32874 if (arg6
== NULL
) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= wxPyMake_wxObject(result
, 0);
32910 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32911 PyObject
*resultobj
;
32912 wxMenu
*arg1
= (wxMenu
*) 0 ;
32913 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32914 wxMenuItem
*result
;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 char *kwnames
[] = {
32918 (char *) "self",(char *) "item", NULL
32921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32923 if (SWIG_arg_fail(1)) SWIG_fail
;
32924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32925 if (SWIG_arg_fail(2)) SWIG_fail
;
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32930 wxPyEndAllowThreads(__tstate
);
32931 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= wxPyMake_wxObject(result
, 0);
32942 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32943 PyObject
*resultobj
;
32944 wxMenu
*arg1
= (wxMenu
*) 0 ;
32946 wxString
*arg3
= 0 ;
32947 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32948 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32949 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32950 wxMenuItem
*result
;
32951 bool temp3
= false ;
32952 bool temp4
= false ;
32953 PyObject
* obj0
= 0 ;
32954 PyObject
* obj1
= 0 ;
32955 PyObject
* obj2
= 0 ;
32956 PyObject
* obj3
= 0 ;
32957 PyObject
* obj4
= 0 ;
32958 char *kwnames
[] = {
32959 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32964 if (SWIG_arg_fail(1)) SWIG_fail
;
32966 arg2
= (int)(SWIG_As_int(obj1
));
32967 if (SWIG_arg_fail(2)) SWIG_fail
;
32970 arg3
= wxString_in_helper(obj2
);
32971 if (arg3
== NULL
) SWIG_fail
;
32976 arg4
= wxString_in_helper(obj3
);
32977 if (arg4
== NULL
) SWIG_fail
;
32983 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32984 if (SWIG_arg_fail(5)) SWIG_fail
;
32988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= wxPyMake_wxObject(result
, 0);
33019 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33020 PyObject
*resultobj
;
33021 wxMenu
*arg1
= (wxMenu
*) 0 ;
33022 wxMenuItem
*result
;
33023 PyObject
* obj0
= 0 ;
33024 char *kwnames
[] = {
33025 (char *) "self", NULL
33028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33030 if (SWIG_arg_fail(1)) SWIG_fail
;
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33035 wxPyEndAllowThreads(__tstate
);
33036 if (PyErr_Occurred()) SWIG_fail
;
33039 resultobj
= wxPyMake_wxObject(result
, 0);
33047 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
;
33049 wxMenu
*arg1
= (wxMenu
*) 0 ;
33051 wxString
*arg3
= 0 ;
33052 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33053 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33054 wxMenuItem
*result
;
33055 bool temp3
= false ;
33056 bool temp4
= false ;
33057 PyObject
* obj0
= 0 ;
33058 PyObject
* obj1
= 0 ;
33059 PyObject
* obj2
= 0 ;
33060 PyObject
* obj3
= 0 ;
33061 char *kwnames
[] = {
33062 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33067 if (SWIG_arg_fail(1)) SWIG_fail
;
33069 arg2
= (int)(SWIG_As_int(obj1
));
33070 if (SWIG_arg_fail(2)) SWIG_fail
;
33073 arg3
= wxString_in_helper(obj2
);
33074 if (arg3
== NULL
) SWIG_fail
;
33079 arg4
= wxString_in_helper(obj3
);
33080 if (arg4
== NULL
) SWIG_fail
;
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= wxPyMake_wxObject(result
, 0);
33116 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxMenu
*arg1
= (wxMenu
*) 0 ;
33120 wxString
*arg3
= 0 ;
33121 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33122 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33123 wxMenuItem
*result
;
33124 bool temp3
= false ;
33125 bool temp4
= false ;
33126 PyObject
* obj0
= 0 ;
33127 PyObject
* obj1
= 0 ;
33128 PyObject
* obj2
= 0 ;
33129 PyObject
* obj3
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33136 if (SWIG_arg_fail(1)) SWIG_fail
;
33138 arg2
= (int)(SWIG_As_int(obj1
));
33139 if (SWIG_arg_fail(2)) SWIG_fail
;
33142 arg3
= wxString_in_helper(obj2
);
33143 if (arg3
== NULL
) SWIG_fail
;
33148 arg4
= wxString_in_helper(obj3
);
33149 if (arg4
== NULL
) SWIG_fail
;
33154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33155 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= wxPyMake_wxObject(result
, 0);
33185 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33186 PyObject
*resultobj
;
33187 wxMenu
*arg1
= (wxMenu
*) 0 ;
33189 wxString
*arg3
= 0 ;
33190 wxMenu
*arg4
= (wxMenu
*) 0 ;
33191 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33192 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33193 wxMenuItem
*result
;
33194 bool temp3
= false ;
33195 bool temp5
= false ;
33196 PyObject
* obj0
= 0 ;
33197 PyObject
* obj1
= 0 ;
33198 PyObject
* obj2
= 0 ;
33199 PyObject
* obj3
= 0 ;
33200 PyObject
* obj4
= 0 ;
33201 char *kwnames
[] = {
33202 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33207 if (SWIG_arg_fail(1)) SWIG_fail
;
33209 arg2
= (int)(SWIG_As_int(obj1
));
33210 if (SWIG_arg_fail(2)) SWIG_fail
;
33213 arg3
= wxString_in_helper(obj2
);
33214 if (arg3
== NULL
) SWIG_fail
;
33217 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33218 if (SWIG_arg_fail(4)) SWIG_fail
;
33221 arg5
= wxString_in_helper(obj4
);
33222 if (arg5
== NULL
) SWIG_fail
;
33227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33228 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= wxPyMake_wxObject(result
, 0);
33258 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33259 PyObject
*resultobj
;
33260 wxMenu
*arg1
= (wxMenu
*) 0 ;
33262 wxMenuItem
*result
;
33263 PyObject
* obj0
= 0 ;
33264 PyObject
* obj1
= 0 ;
33265 char *kwnames
[] = {
33266 (char *) "self",(char *) "id", NULL
33269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33271 if (SWIG_arg_fail(1)) SWIG_fail
;
33273 arg2
= (int)(SWIG_As_int(obj1
));
33274 if (SWIG_arg_fail(2)) SWIG_fail
;
33277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33278 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33280 wxPyEndAllowThreads(__tstate
);
33281 if (PyErr_Occurred()) SWIG_fail
;
33284 resultobj
= wxPyMake_wxObject(result
, 0);
33292 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33293 PyObject
*resultobj
;
33294 wxMenu
*arg1
= (wxMenu
*) 0 ;
33295 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33296 wxMenuItem
*result
;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 char *kwnames
[] = {
33300 (char *) "self",(char *) "item", NULL
33303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33305 if (SWIG_arg_fail(1)) SWIG_fail
;
33306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33307 if (SWIG_arg_fail(2)) SWIG_fail
;
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33312 wxPyEndAllowThreads(__tstate
);
33313 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= wxPyMake_wxObject(result
, 0);
33324 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33325 PyObject
*resultobj
;
33326 wxMenu
*arg1
= (wxMenu
*) 0 ;
33329 PyObject
* obj0
= 0 ;
33330 PyObject
* obj1
= 0 ;
33331 char *kwnames
[] = {
33332 (char *) "self",(char *) "id", NULL
33335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33337 if (SWIG_arg_fail(1)) SWIG_fail
;
33339 arg2
= (int)(SWIG_As_int(obj1
));
33340 if (SWIG_arg_fail(2)) SWIG_fail
;
33343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33344 result
= (bool)(arg1
)->Delete(arg2
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33358 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33359 PyObject
*resultobj
;
33360 wxMenu
*arg1
= (wxMenu
*) 0 ;
33361 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33363 PyObject
* obj0
= 0 ;
33364 PyObject
* obj1
= 0 ;
33365 char *kwnames
[] = {
33366 (char *) "self",(char *) "item", NULL
33369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33371 if (SWIG_arg_fail(1)) SWIG_fail
;
33372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33373 if (SWIG_arg_fail(2)) SWIG_fail
;
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 result
= (bool)(arg1
)->Delete(arg2
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33390 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
;
33392 wxMenu
*arg1
= (wxMenu
*) 0 ;
33393 PyObject
* obj0
= 0 ;
33394 char *kwnames
[] = {
33395 (char *) "self", NULL
33398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33400 if (SWIG_arg_fail(1)) SWIG_fail
;
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 wxMenu_Destroy(arg1
);
33405 wxPyEndAllowThreads(__tstate
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33408 Py_INCREF(Py_None
); resultobj
= Py_None
;
33415 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33416 PyObject
*resultobj
;
33417 wxMenu
*arg1
= (wxMenu
*) 0 ;
33420 PyObject
* obj0
= 0 ;
33421 PyObject
* obj1
= 0 ;
33422 char *kwnames
[] = {
33423 (char *) "self",(char *) "id", NULL
33426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33428 if (SWIG_arg_fail(1)) SWIG_fail
;
33430 arg2
= (int)(SWIG_As_int(obj1
));
33431 if (SWIG_arg_fail(2)) SWIG_fail
;
33434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 result
= (bool)(arg1
)->Destroy(arg2
);
33437 wxPyEndAllowThreads(__tstate
);
33438 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33449 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33450 PyObject
*resultobj
;
33451 wxMenu
*arg1
= (wxMenu
*) 0 ;
33452 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33454 PyObject
* obj0
= 0 ;
33455 PyObject
* obj1
= 0 ;
33456 char *kwnames
[] = {
33457 (char *) "self",(char *) "item", NULL
33460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33462 if (SWIG_arg_fail(1)) SWIG_fail
;
33463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33464 if (SWIG_arg_fail(2)) SWIG_fail
;
33466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33467 result
= (bool)(arg1
)->Destroy(arg2
);
33469 wxPyEndAllowThreads(__tstate
);
33470 if (PyErr_Occurred()) SWIG_fail
;
33473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33481 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33482 PyObject
*resultobj
;
33483 wxMenu
*arg1
= (wxMenu
*) 0 ;
33485 PyObject
* obj0
= 0 ;
33486 char *kwnames
[] = {
33487 (char *) "self", NULL
33490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33492 if (SWIG_arg_fail(1)) SWIG_fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33501 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33509 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33510 PyObject
*resultobj
;
33511 wxMenu
*arg1
= (wxMenu
*) 0 ;
33513 PyObject
* obj0
= 0 ;
33514 char *kwnames
[] = {
33515 (char *) "self", NULL
33518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33520 if (SWIG_arg_fail(1)) SWIG_fail
;
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= result
;
33535 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33536 PyObject
*resultobj
;
33537 wxMenu
*arg1
= (wxMenu
*) 0 ;
33538 wxString
*arg2
= 0 ;
33540 bool temp2
= false ;
33541 PyObject
* obj0
= 0 ;
33542 PyObject
* obj1
= 0 ;
33543 char *kwnames
[] = {
33544 (char *) "self",(char *) "item", NULL
33547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33549 if (SWIG_arg_fail(1)) SWIG_fail
;
33551 arg2
= wxString_in_helper(obj1
);
33552 if (arg2
== NULL
) SWIG_fail
;
33556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33557 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33559 wxPyEndAllowThreads(__tstate
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33563 resultobj
= SWIG_From_int((int)(result
));
33579 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
;
33581 wxMenu
*arg1
= (wxMenu
*) 0 ;
33583 wxMenuItem
*result
;
33584 PyObject
* obj0
= 0 ;
33585 PyObject
* obj1
= 0 ;
33586 char *kwnames
[] = {
33587 (char *) "self",(char *) "id", NULL
33590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33592 if (SWIG_arg_fail(1)) SWIG_fail
;
33594 arg2
= (int)(SWIG_As_int(obj1
));
33595 if (SWIG_arg_fail(2)) SWIG_fail
;
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= wxPyMake_wxObject(result
, 0);
33613 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
;
33615 wxMenu
*arg1
= (wxMenu
*) 0 ;
33617 wxMenuItem
*result
;
33618 PyObject
* obj0
= 0 ;
33619 PyObject
* obj1
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self",(char *) "position", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33626 if (SWIG_arg_fail(1)) SWIG_fail
;
33628 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33629 if (SWIG_arg_fail(2)) SWIG_fail
;
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= wxPyMake_wxObject(result
, 0);
33647 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33648 PyObject
*resultobj
;
33649 wxMenu
*arg1
= (wxMenu
*) 0 ;
33652 PyObject
* obj0
= 0 ;
33653 PyObject
* obj1
= 0 ;
33654 PyObject
* obj2
= 0 ;
33655 char *kwnames
[] = {
33656 (char *) "self",(char *) "id",(char *) "enable", NULL
33659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33661 if (SWIG_arg_fail(1)) SWIG_fail
;
33663 arg2
= (int)(SWIG_As_int(obj1
));
33664 if (SWIG_arg_fail(2)) SWIG_fail
;
33667 arg3
= (bool)(SWIG_As_bool(obj2
));
33668 if (SWIG_arg_fail(3)) SWIG_fail
;
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 (arg1
)->Enable(arg2
,arg3
);
33674 wxPyEndAllowThreads(__tstate
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33677 Py_INCREF(Py_None
); resultobj
= Py_None
;
33684 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33685 PyObject
*resultobj
;
33686 wxMenu
*arg1
= (wxMenu
*) 0 ;
33689 PyObject
* obj0
= 0 ;
33690 PyObject
* obj1
= 0 ;
33691 char *kwnames
[] = {
33692 (char *) "self",(char *) "id", NULL
33695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33697 if (SWIG_arg_fail(1)) SWIG_fail
;
33699 arg2
= (int)(SWIG_As_int(obj1
));
33700 if (SWIG_arg_fail(2)) SWIG_fail
;
33703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33706 wxPyEndAllowThreads(__tstate
);
33707 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33718 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
;
33720 wxMenu
*arg1
= (wxMenu
*) 0 ;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 PyObject
* obj2
= 0 ;
33726 char *kwnames
[] = {
33727 (char *) "self",(char *) "id",(char *) "check", NULL
33730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33732 if (SWIG_arg_fail(1)) SWIG_fail
;
33734 arg2
= (int)(SWIG_As_int(obj1
));
33735 if (SWIG_arg_fail(2)) SWIG_fail
;
33738 arg3
= (bool)(SWIG_As_bool(obj2
));
33739 if (SWIG_arg_fail(3)) SWIG_fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 (arg1
)->Check(arg2
,arg3
);
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33748 Py_INCREF(Py_None
); resultobj
= Py_None
;
33755 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33756 PyObject
*resultobj
;
33757 wxMenu
*arg1
= (wxMenu
*) 0 ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 char *kwnames
[] = {
33763 (char *) "self",(char *) "id", NULL
33766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33768 if (SWIG_arg_fail(1)) SWIG_fail
;
33770 arg2
= (int)(SWIG_As_int(obj1
));
33771 if (SWIG_arg_fail(2)) SWIG_fail
;
33774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33775 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33789 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
;
33791 wxMenu
*arg1
= (wxMenu
*) 0 ;
33793 wxString
*arg3
= 0 ;
33794 bool temp3
= false ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 PyObject
* obj2
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self",(char *) "id",(char *) "label", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33804 if (SWIG_arg_fail(1)) SWIG_fail
;
33806 arg2
= (int)(SWIG_As_int(obj1
));
33807 if (SWIG_arg_fail(2)) SWIG_fail
;
33810 arg3
= wxString_in_helper(obj2
);
33811 if (arg3
== NULL
) SWIG_fail
;
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 Py_INCREF(Py_None
); resultobj
= Py_None
;
33836 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33837 PyObject
*resultobj
;
33838 wxMenu
*arg1
= (wxMenu
*) 0 ;
33841 PyObject
* obj0
= 0 ;
33842 PyObject
* obj1
= 0 ;
33843 char *kwnames
[] = {
33844 (char *) "self",(char *) "id", NULL
33847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33849 if (SWIG_arg_fail(1)) SWIG_fail
;
33851 arg2
= (int)(SWIG_As_int(obj1
));
33852 if (SWIG_arg_fail(2)) SWIG_fail
;
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33874 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33875 PyObject
*resultobj
;
33876 wxMenu
*arg1
= (wxMenu
*) 0 ;
33878 wxString
*arg3
= 0 ;
33879 bool temp3
= false ;
33880 PyObject
* obj0
= 0 ;
33881 PyObject
* obj1
= 0 ;
33882 PyObject
* obj2
= 0 ;
33883 char *kwnames
[] = {
33884 (char *) "self",(char *) "id",(char *) "helpString", NULL
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33889 if (SWIG_arg_fail(1)) SWIG_fail
;
33891 arg2
= (int)(SWIG_As_int(obj1
));
33892 if (SWIG_arg_fail(2)) SWIG_fail
;
33895 arg3
= wxString_in_helper(obj2
);
33896 if (arg3
== NULL
) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 Py_INCREF(Py_None
); resultobj
= Py_None
;
33921 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33922 PyObject
*resultobj
;
33923 wxMenu
*arg1
= (wxMenu
*) 0 ;
33926 PyObject
* obj0
= 0 ;
33927 PyObject
* obj1
= 0 ;
33928 char *kwnames
[] = {
33929 (char *) "self",(char *) "id", NULL
33932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33934 if (SWIG_arg_fail(1)) SWIG_fail
;
33936 arg2
= (int)(SWIG_As_int(obj1
));
33937 if (SWIG_arg_fail(2)) SWIG_fail
;
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33943 wxPyEndAllowThreads(__tstate
);
33944 if (PyErr_Occurred()) SWIG_fail
;
33948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33959 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33960 PyObject
*resultobj
;
33961 wxMenu
*arg1
= (wxMenu
*) 0 ;
33962 wxString
*arg2
= 0 ;
33963 bool temp2
= false ;
33964 PyObject
* obj0
= 0 ;
33965 PyObject
* obj1
= 0 ;
33966 char *kwnames
[] = {
33967 (char *) "self",(char *) "title", NULL
33970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33972 if (SWIG_arg_fail(1)) SWIG_fail
;
33974 arg2
= wxString_in_helper(obj1
);
33975 if (arg2
== NULL
) SWIG_fail
;
33979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33980 (arg1
)->SetTitle((wxString
const &)*arg2
);
33982 wxPyEndAllowThreads(__tstate
);
33983 if (PyErr_Occurred()) SWIG_fail
;
33985 Py_INCREF(Py_None
); resultobj
= Py_None
;
34000 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
;
34002 wxMenu
*arg1
= (wxMenu
*) 0 ;
34004 PyObject
* obj0
= 0 ;
34005 char *kwnames
[] = {
34006 (char *) "self", NULL
34009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34011 if (SWIG_arg_fail(1)) SWIG_fail
;
34013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34014 result
= ((wxMenu
const *)arg1
)->GetTitle();
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34032 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
;
34034 wxMenu
*arg1
= (wxMenu
*) 0 ;
34035 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34036 PyObject
* obj0
= 0 ;
34037 PyObject
* obj1
= 0 ;
34038 char *kwnames
[] = {
34039 (char *) "self",(char *) "handler", NULL
34042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34044 if (SWIG_arg_fail(1)) SWIG_fail
;
34045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34046 if (SWIG_arg_fail(2)) SWIG_fail
;
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 (arg1
)->SetEventHandler(arg2
);
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 Py_INCREF(Py_None
); resultobj
= Py_None
;
34061 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
;
34063 wxMenu
*arg1
= (wxMenu
*) 0 ;
34064 wxEvtHandler
*result
;
34065 PyObject
* obj0
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34081 resultobj
= wxPyMake_wxObject(result
, 0);
34089 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxMenu
*arg1
= (wxMenu
*) 0 ;
34092 wxWindow
*arg2
= (wxWindow
*) 0 ;
34093 PyObject
* obj0
= 0 ;
34094 PyObject
* obj1
= 0 ;
34095 char *kwnames
[] = {
34096 (char *) "self",(char *) "win", NULL
34099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34101 if (SWIG_arg_fail(1)) SWIG_fail
;
34102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34103 if (SWIG_arg_fail(2)) SWIG_fail
;
34105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34106 (arg1
)->SetInvokingWindow(arg2
);
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34111 Py_INCREF(Py_None
); resultobj
= Py_None
;
34118 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34119 PyObject
*resultobj
;
34120 wxMenu
*arg1
= (wxMenu
*) 0 ;
34122 PyObject
* obj0
= 0 ;
34123 char *kwnames
[] = {
34124 (char *) "self", NULL
34127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34129 if (SWIG_arg_fail(1)) SWIG_fail
;
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= wxPyMake_wxObject(result
, 0);
34146 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
;
34148 wxMenu
*arg1
= (wxMenu
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34157 if (SWIG_arg_fail(1)) SWIG_fail
;
34159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34160 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34166 resultobj
= SWIG_From_long((long)(result
));
34174 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
;
34176 wxMenu
*arg1
= (wxMenu
*) 0 ;
34177 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34178 PyObject
* obj0
= 0 ;
34179 PyObject
* obj1
= 0 ;
34180 char *kwnames
[] = {
34181 (char *) "self",(char *) "source", NULL
34184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34186 if (SWIG_arg_fail(1)) SWIG_fail
;
34188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34189 if (SWIG_arg_fail(2)) SWIG_fail
;
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34193 (arg1
)->UpdateUI(arg2
);
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34198 Py_INCREF(Py_None
); resultobj
= Py_None
;
34205 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34206 PyObject
*resultobj
;
34207 wxMenu
*arg1
= (wxMenu
*) 0 ;
34209 PyObject
* obj0
= 0 ;
34210 char *kwnames
[] = {
34211 (char *) "self", NULL
34214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34216 if (SWIG_arg_fail(1)) SWIG_fail
;
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= wxPyMake_wxObject(result
, 0);
34233 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
;
34235 wxMenu
*arg1
= (wxMenu
*) 0 ;
34236 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34237 PyObject
* obj0
= 0 ;
34238 PyObject
* obj1
= 0 ;
34239 char *kwnames
[] = {
34240 (char *) "self",(char *) "menubar", NULL
34243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34245 if (SWIG_arg_fail(1)) SWIG_fail
;
34246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34247 if (SWIG_arg_fail(2)) SWIG_fail
;
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 (arg1
)->Attach(arg2
);
34252 wxPyEndAllowThreads(__tstate
);
34253 if (PyErr_Occurred()) SWIG_fail
;
34255 Py_INCREF(Py_None
); resultobj
= Py_None
;
34262 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34263 PyObject
*resultobj
;
34264 wxMenu
*arg1
= (wxMenu
*) 0 ;
34265 PyObject
* obj0
= 0 ;
34266 char *kwnames
[] = {
34267 (char *) "self", NULL
34270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34272 if (SWIG_arg_fail(1)) SWIG_fail
;
34274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 wxPyEndAllowThreads(__tstate
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34280 Py_INCREF(Py_None
); resultobj
= Py_None
;
34287 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
;
34289 wxMenu
*arg1
= (wxMenu
*) 0 ;
34291 PyObject
* obj0
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34298 if (SWIG_arg_fail(1)) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34315 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
;
34317 wxMenu
*arg1
= (wxMenu
*) 0 ;
34318 wxMenu
*arg2
= (wxMenu
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char *kwnames
[] = {
34322 (char *) "self",(char *) "parent", NULL
34325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34327 if (SWIG_arg_fail(1)) SWIG_fail
;
34328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34329 if (SWIG_arg_fail(2)) SWIG_fail
;
34331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34332 (arg1
)->SetParent(arg2
);
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 Py_INCREF(Py_None
); resultobj
= Py_None
;
34344 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
;
34346 wxMenu
*arg1
= (wxMenu
*) 0 ;
34348 PyObject
* obj0
= 0 ;
34349 char *kwnames
[] = {
34350 (char *) "self", NULL
34353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34355 if (SWIG_arg_fail(1)) SWIG_fail
;
34357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34358 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34360 wxPyEndAllowThreads(__tstate
);
34361 if (PyErr_Occurred()) SWIG_fail
;
34364 resultobj
= wxPyMake_wxObject(result
, 0);
34372 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34375 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34377 return Py_BuildValue((char *)"");
34379 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34380 PyObject
*resultobj
;
34381 long arg1
= (long) 0 ;
34383 PyObject
* obj0
= 0 ;
34384 char *kwnames
[] = {
34385 (char *) "style", NULL
34388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34391 arg1
= (long)(SWIG_As_long(obj0
));
34392 if (SWIG_arg_fail(1)) SWIG_fail
;
34396 if (!wxPyCheckForApp()) SWIG_fail
;
34397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34398 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34410 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34411 PyObject
*resultobj
;
34412 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34413 wxMenu
*arg2
= (wxMenu
*) 0 ;
34414 wxString
*arg3
= 0 ;
34416 bool temp3
= false ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 PyObject
* obj2
= 0 ;
34420 char *kwnames
[] = {
34421 (char *) "self",(char *) "menu",(char *) "title", NULL
34424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34426 if (SWIG_arg_fail(1)) SWIG_fail
;
34427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34428 if (SWIG_arg_fail(2)) SWIG_fail
;
34430 arg3
= wxString_in_helper(obj2
);
34431 if (arg3
== NULL
) SWIG_fail
;
34435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34436 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34458 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34459 PyObject
*resultobj
;
34460 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34462 wxMenu
*arg3
= (wxMenu
*) 0 ;
34463 wxString
*arg4
= 0 ;
34465 bool temp4
= false ;
34466 PyObject
* obj0
= 0 ;
34467 PyObject
* obj1
= 0 ;
34468 PyObject
* obj2
= 0 ;
34469 PyObject
* obj3
= 0 ;
34470 char *kwnames
[] = {
34471 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34476 if (SWIG_arg_fail(1)) SWIG_fail
;
34478 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34479 if (SWIG_arg_fail(2)) SWIG_fail
;
34481 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34482 if (SWIG_arg_fail(3)) SWIG_fail
;
34484 arg4
= wxString_in_helper(obj3
);
34485 if (arg4
== NULL
) SWIG_fail
;
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34492 wxPyEndAllowThreads(__tstate
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34512 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34516 PyObject
* obj0
= 0 ;
34517 char *kwnames
[] = {
34518 (char *) "self", NULL
34521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34523 if (SWIG_arg_fail(1)) SWIG_fail
;
34525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34526 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34528 wxPyEndAllowThreads(__tstate
);
34529 if (PyErr_Occurred()) SWIG_fail
;
34532 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34540 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
;
34542 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34545 PyObject
* obj0
= 0 ;
34546 PyObject
* obj1
= 0 ;
34547 char *kwnames
[] = {
34548 (char *) "self",(char *) "pos", NULL
34551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34553 if (SWIG_arg_fail(1)) SWIG_fail
;
34555 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34556 if (SWIG_arg_fail(2)) SWIG_fail
;
34559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34560 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34562 wxPyEndAllowThreads(__tstate
);
34563 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= wxPyMake_wxObject(result
, 0);
34574 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34575 PyObject
*resultobj
;
34576 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34578 wxMenu
*arg3
= (wxMenu
*) 0 ;
34579 wxString
*arg4
= 0 ;
34581 bool temp4
= false ;
34582 PyObject
* obj0
= 0 ;
34583 PyObject
* obj1
= 0 ;
34584 PyObject
* obj2
= 0 ;
34585 PyObject
* obj3
= 0 ;
34586 char *kwnames
[] = {
34587 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34592 if (SWIG_arg_fail(1)) SWIG_fail
;
34594 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34595 if (SWIG_arg_fail(2)) SWIG_fail
;
34597 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34598 if (SWIG_arg_fail(3)) SWIG_fail
;
34600 arg4
= wxString_in_helper(obj3
);
34601 if (arg4
== NULL
) SWIG_fail
;
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34608 wxPyEndAllowThreads(__tstate
);
34609 if (PyErr_Occurred()) SWIG_fail
;
34612 resultobj
= wxPyMake_wxObject(result
, 0);
34628 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
;
34630 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34633 PyObject
* obj0
= 0 ;
34634 PyObject
* obj1
= 0 ;
34635 char *kwnames
[] = {
34636 (char *) "self",(char *) "pos", NULL
34639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34641 if (SWIG_arg_fail(1)) SWIG_fail
;
34643 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34644 if (SWIG_arg_fail(2)) SWIG_fail
;
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= wxPyMake_wxObject(result
, 0);
34662 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
;
34664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 PyObject
* obj1
= 0 ;
34669 PyObject
* obj2
= 0 ;
34670 char *kwnames
[] = {
34671 (char *) "self",(char *) "pos",(char *) "enable", NULL
34674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34676 if (SWIG_arg_fail(1)) SWIG_fail
;
34678 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34679 if (SWIG_arg_fail(2)) SWIG_fail
;
34682 arg3
= (bool)(SWIG_As_bool(obj2
));
34683 if (SWIG_arg_fail(3)) SWIG_fail
;
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 (arg1
)->EnableTop(arg2
,arg3
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34692 Py_INCREF(Py_None
); resultobj
= Py_None
;
34699 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
;
34701 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34704 PyObject
* obj0
= 0 ;
34705 PyObject
* obj1
= 0 ;
34706 char *kwnames
[] = {
34707 (char *) "self",(char *) "pos", NULL
34710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34712 if (SWIG_arg_fail(1)) SWIG_fail
;
34714 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34715 if (SWIG_arg_fail(2)) SWIG_fail
;
34718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34719 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34721 wxPyEndAllowThreads(__tstate
);
34722 if (PyErr_Occurred()) SWIG_fail
;
34725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34733 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34734 PyObject
*resultobj
;
34735 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34737 wxString
*arg3
= 0 ;
34738 bool temp3
= false ;
34739 PyObject
* obj0
= 0 ;
34740 PyObject
* obj1
= 0 ;
34741 PyObject
* obj2
= 0 ;
34742 char *kwnames
[] = {
34743 (char *) "self",(char *) "pos",(char *) "label", NULL
34746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34748 if (SWIG_arg_fail(1)) SWIG_fail
;
34750 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34751 if (SWIG_arg_fail(2)) SWIG_fail
;
34754 arg3
= wxString_in_helper(obj2
);
34755 if (arg3
== NULL
) SWIG_fail
;
34759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34760 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34762 wxPyEndAllowThreads(__tstate
);
34763 if (PyErr_Occurred()) SWIG_fail
;
34765 Py_INCREF(Py_None
); resultobj
= Py_None
;
34780 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34781 PyObject
*resultobj
;
34782 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34785 PyObject
* obj0
= 0 ;
34786 PyObject
* obj1
= 0 ;
34787 char *kwnames
[] = {
34788 (char *) "self",(char *) "pos", NULL
34791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34793 if (SWIG_arg_fail(1)) SWIG_fail
;
34795 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34796 if (SWIG_arg_fail(2)) SWIG_fail
;
34799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34800 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34802 wxPyEndAllowThreads(__tstate
);
34803 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34818 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34819 PyObject
*resultobj
;
34820 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34821 wxString
*arg2
= 0 ;
34822 wxString
*arg3
= 0 ;
34824 bool temp2
= false ;
34825 bool temp3
= false ;
34826 PyObject
* obj0
= 0 ;
34827 PyObject
* obj1
= 0 ;
34828 PyObject
* obj2
= 0 ;
34829 char *kwnames
[] = {
34830 (char *) "self",(char *) "menu",(char *) "item", NULL
34833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= wxString_in_helper(obj1
);
34838 if (arg2
== NULL
) SWIG_fail
;
34842 arg3
= wxString_in_helper(obj2
);
34843 if (arg3
== NULL
) SWIG_fail
;
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34854 resultobj
= SWIG_From_int((int)(result
));
34878 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34879 PyObject
*resultobj
;
34880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34882 wxMenuItem
*result
;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 char *kwnames
[] = {
34886 (char *) "self",(char *) "id", NULL
34889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34891 if (SWIG_arg_fail(1)) SWIG_fail
;
34893 arg2
= (int)(SWIG_As_int(obj1
));
34894 if (SWIG_arg_fail(2)) SWIG_fail
;
34897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34898 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34904 resultobj
= wxPyMake_wxObject(result
, 0);
34912 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34913 PyObject
*resultobj
;
34914 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34915 wxString
*arg2
= 0 ;
34917 bool temp2
= false ;
34918 PyObject
* obj0
= 0 ;
34919 PyObject
* obj1
= 0 ;
34920 char *kwnames
[] = {
34921 (char *) "self",(char *) "title", NULL
34924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34926 if (SWIG_arg_fail(1)) SWIG_fail
;
34928 arg2
= wxString_in_helper(obj1
);
34929 if (arg2
== NULL
) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= SWIG_From_int((int)(result
));
34956 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34957 PyObject
*resultobj
;
34958 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34961 PyObject
* obj0
= 0 ;
34962 PyObject
* obj1
= 0 ;
34963 PyObject
* obj2
= 0 ;
34964 char *kwnames
[] = {
34965 (char *) "self",(char *) "id",(char *) "enable", NULL
34968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34970 if (SWIG_arg_fail(1)) SWIG_fail
;
34972 arg2
= (int)(SWIG_As_int(obj1
));
34973 if (SWIG_arg_fail(2)) SWIG_fail
;
34976 arg3
= (bool)(SWIG_As_bool(obj2
));
34977 if (SWIG_arg_fail(3)) SWIG_fail
;
34980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34981 (arg1
)->Enable(arg2
,arg3
);
34983 wxPyEndAllowThreads(__tstate
);
34984 if (PyErr_Occurred()) SWIG_fail
;
34986 Py_INCREF(Py_None
); resultobj
= Py_None
;
34993 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34994 PyObject
*resultobj
;
34995 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34998 PyObject
* obj0
= 0 ;
34999 PyObject
* obj1
= 0 ;
35000 PyObject
* obj2
= 0 ;
35001 char *kwnames
[] = {
35002 (char *) "self",(char *) "id",(char *) "check", NULL
35005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35007 if (SWIG_arg_fail(1)) SWIG_fail
;
35009 arg2
= (int)(SWIG_As_int(obj1
));
35010 if (SWIG_arg_fail(2)) SWIG_fail
;
35013 arg3
= (bool)(SWIG_As_bool(obj2
));
35014 if (SWIG_arg_fail(3)) SWIG_fail
;
35017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35018 (arg1
)->Check(arg2
,arg3
);
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 Py_INCREF(Py_None
); resultobj
= Py_None
;
35030 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35031 PyObject
*resultobj
;
35032 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 char *kwnames
[] = {
35038 (char *) "self",(char *) "id", NULL
35041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35043 if (SWIG_arg_fail(1)) SWIG_fail
;
35045 arg2
= (int)(SWIG_As_int(obj1
));
35046 if (SWIG_arg_fail(2)) SWIG_fail
;
35049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35050 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35064 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35065 PyObject
*resultobj
;
35066 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35069 PyObject
* obj0
= 0 ;
35070 PyObject
* obj1
= 0 ;
35071 char *kwnames
[] = {
35072 (char *) "self",(char *) "id", NULL
35075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35077 if (SWIG_arg_fail(1)) SWIG_fail
;
35079 arg2
= (int)(SWIG_As_int(obj1
));
35080 if (SWIG_arg_fail(2)) SWIG_fail
;
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35098 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35099 PyObject
*resultobj
;
35100 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35102 wxString
*arg3
= 0 ;
35103 bool temp3
= false ;
35104 PyObject
* obj0
= 0 ;
35105 PyObject
* obj1
= 0 ;
35106 PyObject
* obj2
= 0 ;
35107 char *kwnames
[] = {
35108 (char *) "self",(char *) "id",(char *) "label", NULL
35111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35113 if (SWIG_arg_fail(1)) SWIG_fail
;
35115 arg2
= (int)(SWIG_As_int(obj1
));
35116 if (SWIG_arg_fail(2)) SWIG_fail
;
35119 arg3
= wxString_in_helper(obj2
);
35120 if (arg3
== NULL
) SWIG_fail
;
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 Py_INCREF(Py_None
); resultobj
= Py_None
;
35145 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
;
35147 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35150 PyObject
* obj0
= 0 ;
35151 PyObject
* obj1
= 0 ;
35152 char *kwnames
[] = {
35153 (char *) "self",(char *) "id", NULL
35156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35158 if (SWIG_arg_fail(1)) SWIG_fail
;
35160 arg2
= (int)(SWIG_As_int(obj1
));
35161 if (SWIG_arg_fail(2)) SWIG_fail
;
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35183 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35184 PyObject
*resultobj
;
35185 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35187 wxString
*arg3
= 0 ;
35188 bool temp3
= false ;
35189 PyObject
* obj0
= 0 ;
35190 PyObject
* obj1
= 0 ;
35191 PyObject
* obj2
= 0 ;
35192 char *kwnames
[] = {
35193 (char *) "self",(char *) "id",(char *) "helpString", NULL
35196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35198 if (SWIG_arg_fail(1)) SWIG_fail
;
35200 arg2
= (int)(SWIG_As_int(obj1
));
35201 if (SWIG_arg_fail(2)) SWIG_fail
;
35204 arg3
= wxString_in_helper(obj2
);
35205 if (arg3
== NULL
) SWIG_fail
;
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35215 Py_INCREF(Py_None
); resultobj
= Py_None
;
35230 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
;
35232 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35235 PyObject
* obj0
= 0 ;
35236 PyObject
* obj1
= 0 ;
35237 char *kwnames
[] = {
35238 (char *) "self",(char *) "id", NULL
35241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35243 if (SWIG_arg_fail(1)) SWIG_fail
;
35245 arg2
= (int)(SWIG_As_int(obj1
));
35246 if (SWIG_arg_fail(2)) SWIG_fail
;
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35252 wxPyEndAllowThreads(__tstate
);
35253 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35268 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35269 PyObject
*resultobj
;
35270 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35272 PyObject
* obj0
= 0 ;
35273 char *kwnames
[] = {
35274 (char *) "self", NULL
35277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35279 if (SWIG_arg_fail(1)) SWIG_fail
;
35281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35282 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35284 wxPyEndAllowThreads(__tstate
);
35285 if (PyErr_Occurred()) SWIG_fail
;
35288 resultobj
= wxPyMake_wxObject(result
, 0);
35296 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35297 PyObject
*resultobj
;
35298 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 char *kwnames
[] = {
35302 (char *) "self", NULL
35305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35307 if (SWIG_arg_fail(1)) SWIG_fail
;
35309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35310 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35312 wxPyEndAllowThreads(__tstate
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35324 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
;
35326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35327 wxFrame
*arg2
= (wxFrame
*) 0 ;
35328 PyObject
* obj0
= 0 ;
35329 PyObject
* obj1
= 0 ;
35330 char *kwnames
[] = {
35331 (char *) "self",(char *) "frame", NULL
35334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35336 if (SWIG_arg_fail(1)) SWIG_fail
;
35337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35338 if (SWIG_arg_fail(2)) SWIG_fail
;
35340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35341 (arg1
)->Attach(arg2
);
35343 wxPyEndAllowThreads(__tstate
);
35344 if (PyErr_Occurred()) SWIG_fail
;
35346 Py_INCREF(Py_None
); resultobj
= Py_None
;
35353 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35354 PyObject
*resultobj
;
35355 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35356 PyObject
* obj0
= 0 ;
35357 char *kwnames
[] = {
35358 (char *) "self", NULL
35361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35363 if (SWIG_arg_fail(1)) SWIG_fail
;
35365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 wxPyEndAllowThreads(__tstate
);
35369 if (PyErr_Occurred()) SWIG_fail
;
35371 Py_INCREF(Py_None
); resultobj
= Py_None
;
35378 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35381 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35383 return Py_BuildValue((char *)"");
35385 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35386 PyObject
*resultobj
;
35387 wxMenu
*arg1
= (wxMenu
*) NULL
;
35388 int arg2
= (int) wxID_ANY
;
35389 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35390 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35391 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35392 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35393 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35394 wxMenu
*arg6
= (wxMenu
*) NULL
;
35395 wxMenuItem
*result
;
35396 bool temp3
= false ;
35397 bool temp4
= false ;
35398 PyObject
* obj0
= 0 ;
35399 PyObject
* obj1
= 0 ;
35400 PyObject
* obj2
= 0 ;
35401 PyObject
* obj3
= 0 ;
35402 PyObject
* obj4
= 0 ;
35403 PyObject
* obj5
= 0 ;
35404 char *kwnames
[] = {
35405 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35411 if (SWIG_arg_fail(1)) SWIG_fail
;
35415 arg2
= (int)(SWIG_As_int(obj1
));
35416 if (SWIG_arg_fail(2)) SWIG_fail
;
35421 arg3
= wxString_in_helper(obj2
);
35422 if (arg3
== NULL
) SWIG_fail
;
35428 arg4
= wxString_in_helper(obj3
);
35429 if (arg4
== NULL
) SWIG_fail
;
35435 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35436 if (SWIG_arg_fail(5)) SWIG_fail
;
35440 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35441 if (SWIG_arg_fail(6)) SWIG_fail
;
35444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35445 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35447 wxPyEndAllowThreads(__tstate
);
35448 if (PyErr_Occurred()) SWIG_fail
;
35451 resultobj
= wxPyMake_wxObject(result
, 1);
35475 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35476 PyObject
*resultobj
;
35477 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35479 PyObject
* obj0
= 0 ;
35480 char *kwnames
[] = {
35481 (char *) "self", NULL
35484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35486 if (SWIG_arg_fail(1)) SWIG_fail
;
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35489 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35495 resultobj
= wxPyMake_wxObject(result
, 0);
35503 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
;
35505 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35506 wxMenu
*arg2
= (wxMenu
*) 0 ;
35507 PyObject
* obj0
= 0 ;
35508 PyObject
* obj1
= 0 ;
35509 char *kwnames
[] = {
35510 (char *) "self",(char *) "menu", NULL
35513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35515 if (SWIG_arg_fail(1)) SWIG_fail
;
35516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35517 if (SWIG_arg_fail(2)) SWIG_fail
;
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 (arg1
)->SetMenu(arg2
);
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 Py_INCREF(Py_None
); resultobj
= Py_None
;
35532 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35536 PyObject
* obj0
= 0 ;
35537 PyObject
* obj1
= 0 ;
35538 char *kwnames
[] = {
35539 (char *) "self",(char *) "id", NULL
35542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35544 if (SWIG_arg_fail(1)) SWIG_fail
;
35546 arg2
= (int)(SWIG_As_int(obj1
));
35547 if (SWIG_arg_fail(2)) SWIG_fail
;
35550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35551 (arg1
)->SetId(arg2
);
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35556 Py_INCREF(Py_None
); resultobj
= Py_None
;
35563 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35564 PyObject
*resultobj
;
35565 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35567 PyObject
* obj0
= 0 ;
35568 char *kwnames
[] = {
35569 (char *) "self", NULL
35572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35574 if (SWIG_arg_fail(1)) SWIG_fail
;
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35579 wxPyEndAllowThreads(__tstate
);
35580 if (PyErr_Occurred()) SWIG_fail
;
35583 resultobj
= SWIG_From_int((int)(result
));
35591 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35592 PyObject
*resultobj
;
35593 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35595 PyObject
* obj0
= 0 ;
35596 char *kwnames
[] = {
35597 (char *) "self", NULL
35600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35602 if (SWIG_arg_fail(1)) SWIG_fail
;
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35607 wxPyEndAllowThreads(__tstate
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35619 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
;
35621 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35622 wxString
*arg2
= 0 ;
35623 bool temp2
= false ;
35624 PyObject
* obj0
= 0 ;
35625 PyObject
* obj1
= 0 ;
35626 char *kwnames
[] = {
35627 (char *) "self",(char *) "str", NULL
35630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35632 if (SWIG_arg_fail(1)) SWIG_fail
;
35634 arg2
= wxString_in_helper(obj1
);
35635 if (arg2
== NULL
) SWIG_fail
;
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 (arg1
)->SetText((wxString
const &)*arg2
);
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 Py_INCREF(Py_None
); resultobj
= Py_None
;
35660 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35661 PyObject
*resultobj
;
35662 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35664 PyObject
* obj0
= 0 ;
35665 char *kwnames
[] = {
35666 (char *) "self", NULL
35669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35671 if (SWIG_arg_fail(1)) SWIG_fail
;
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35692 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35693 PyObject
*resultobj
;
35694 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 char *kwnames
[] = {
35698 (char *) "self", NULL
35701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35703 if (SWIG_arg_fail(1)) SWIG_fail
;
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35707 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35708 result
= (wxString
*) &_result_ref
;
35711 wxPyEndAllowThreads(__tstate
);
35712 if (PyErr_Occurred()) SWIG_fail
;
35716 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35718 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35727 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35728 PyObject
*resultobj
;
35729 wxString
*arg1
= 0 ;
35731 bool temp1
= false ;
35732 PyObject
* obj0
= 0 ;
35733 char *kwnames
[] = {
35734 (char *) "text", NULL
35737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35739 arg1
= wxString_in_helper(obj0
);
35740 if (arg1
== NULL
) SWIG_fail
;
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35747 wxPyEndAllowThreads(__tstate
);
35748 if (PyErr_Occurred()) SWIG_fail
;
35752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35771 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35772 PyObject
*resultobj
;
35773 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35775 PyObject
* obj0
= 0 ;
35776 char *kwnames
[] = {
35777 (char *) "self", NULL
35780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35782 if (SWIG_arg_fail(1)) SWIG_fail
;
35784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35785 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35787 wxPyEndAllowThreads(__tstate
);
35788 if (PyErr_Occurred()) SWIG_fail
;
35790 resultobj
= SWIG_From_int((result
));
35797 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35798 PyObject
*resultobj
;
35799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 char *kwnames
[] = {
35804 (char *) "self",(char *) "kind", NULL
35807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35809 if (SWIG_arg_fail(1)) SWIG_fail
;
35811 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35812 if (SWIG_arg_fail(2)) SWIG_fail
;
35815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35816 (arg1
)->SetKind((wxItemKind
)arg2
);
35818 wxPyEndAllowThreads(__tstate
);
35819 if (PyErr_Occurred()) SWIG_fail
;
35821 Py_INCREF(Py_None
); resultobj
= Py_None
;
35828 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35829 PyObject
*resultobj
;
35830 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35832 PyObject
* obj0
= 0 ;
35833 PyObject
* obj1
= 0 ;
35834 char *kwnames
[] = {
35835 (char *) "self",(char *) "checkable", NULL
35838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35840 if (SWIG_arg_fail(1)) SWIG_fail
;
35842 arg2
= (bool)(SWIG_As_bool(obj1
));
35843 if (SWIG_arg_fail(2)) SWIG_fail
;
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 (arg1
)->SetCheckable(arg2
);
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 Py_INCREF(Py_None
); resultobj
= Py_None
;
35859 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
;
35861 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35863 PyObject
* obj0
= 0 ;
35864 char *kwnames
[] = {
35865 (char *) "self", NULL
35868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35870 if (SWIG_arg_fail(1)) SWIG_fail
;
35872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35873 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35875 wxPyEndAllowThreads(__tstate
);
35876 if (PyErr_Occurred()) SWIG_fail
;
35879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35887 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35888 PyObject
*resultobj
;
35889 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35891 PyObject
* obj0
= 0 ;
35892 char *kwnames
[] = {
35893 (char *) "self", NULL
35896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35898 if (SWIG_arg_fail(1)) SWIG_fail
;
35900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35901 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35903 wxPyEndAllowThreads(__tstate
);
35904 if (PyErr_Occurred()) SWIG_fail
;
35907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35915 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35916 PyObject
*resultobj
;
35917 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35918 wxMenu
*arg2
= (wxMenu
*) 0 ;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 char *kwnames
[] = {
35922 (char *) "self",(char *) "menu", NULL
35925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35927 if (SWIG_arg_fail(1)) SWIG_fail
;
35928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35929 if (SWIG_arg_fail(2)) SWIG_fail
;
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 (arg1
)->SetSubMenu(arg2
);
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35937 Py_INCREF(Py_None
); resultobj
= Py_None
;
35944 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35945 PyObject
*resultobj
;
35946 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35948 PyObject
* obj0
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35964 resultobj
= wxPyMake_wxObject(result
, 0);
35972 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
;
35974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35975 bool arg2
= (bool) true ;
35976 PyObject
* obj0
= 0 ;
35977 PyObject
* obj1
= 0 ;
35978 char *kwnames
[] = {
35979 (char *) "self",(char *) "enable", NULL
35982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35984 if (SWIG_arg_fail(1)) SWIG_fail
;
35987 arg2
= (bool)(SWIG_As_bool(obj1
));
35988 if (SWIG_arg_fail(2)) SWIG_fail
;
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 (arg1
)->Enable(arg2
);
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35998 Py_INCREF(Py_None
); resultobj
= Py_None
;
36005 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36006 PyObject
*resultobj
;
36007 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36009 PyObject
* obj0
= 0 ;
36010 char *kwnames
[] = {
36011 (char *) "self", NULL
36014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36016 if (SWIG_arg_fail(1)) SWIG_fail
;
36018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36019 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36033 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
;
36035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36036 bool arg2
= (bool) true ;
36037 PyObject
* obj0
= 0 ;
36038 PyObject
* obj1
= 0 ;
36039 char *kwnames
[] = {
36040 (char *) "self",(char *) "check", NULL
36043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36045 if (SWIG_arg_fail(1)) SWIG_fail
;
36048 arg2
= (bool)(SWIG_As_bool(obj1
));
36049 if (SWIG_arg_fail(2)) SWIG_fail
;
36053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36054 (arg1
)->Check(arg2
);
36056 wxPyEndAllowThreads(__tstate
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36059 Py_INCREF(Py_None
); resultobj
= Py_None
;
36066 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36067 PyObject
*resultobj
;
36068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36070 PyObject
* obj0
= 0 ;
36071 char *kwnames
[] = {
36072 (char *) "self", NULL
36075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36077 if (SWIG_arg_fail(1)) SWIG_fail
;
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36094 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36095 PyObject
*resultobj
;
36096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36097 PyObject
* obj0
= 0 ;
36098 char *kwnames
[] = {
36099 (char *) "self", NULL
36102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36104 if (SWIG_arg_fail(1)) SWIG_fail
;
36106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36112 Py_INCREF(Py_None
); resultobj
= Py_None
;
36119 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36120 PyObject
*resultobj
;
36121 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36122 wxString
*arg2
= 0 ;
36123 bool temp2
= false ;
36124 PyObject
* obj0
= 0 ;
36125 PyObject
* obj1
= 0 ;
36126 char *kwnames
[] = {
36127 (char *) "self",(char *) "str", NULL
36130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36132 if (SWIG_arg_fail(1)) SWIG_fail
;
36134 arg2
= wxString_in_helper(obj1
);
36135 if (arg2
== NULL
) SWIG_fail
;
36139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36140 (arg1
)->SetHelp((wxString
const &)*arg2
);
36142 wxPyEndAllowThreads(__tstate
);
36143 if (PyErr_Occurred()) SWIG_fail
;
36145 Py_INCREF(Py_None
); resultobj
= Py_None
;
36160 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36161 PyObject
*resultobj
;
36162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36164 PyObject
* obj0
= 0 ;
36165 char *kwnames
[] = {
36166 (char *) "self", NULL
36169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36171 if (SWIG_arg_fail(1)) SWIG_fail
;
36173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36175 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36176 result
= (wxString
*) &_result_ref
;
36179 wxPyEndAllowThreads(__tstate
);
36180 if (PyErr_Occurred()) SWIG_fail
;
36184 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36186 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36195 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
;
36197 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36198 wxAcceleratorEntry
*result
;
36199 PyObject
* obj0
= 0 ;
36200 char *kwnames
[] = {
36201 (char *) "self", NULL
36204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36206 if (SWIG_arg_fail(1)) SWIG_fail
;
36208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36209 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36211 wxPyEndAllowThreads(__tstate
);
36212 if (PyErr_Occurred()) SWIG_fail
;
36214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36221 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36222 PyObject
*resultobj
;
36223 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36224 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36225 PyObject
* obj0
= 0 ;
36226 PyObject
* obj1
= 0 ;
36227 char *kwnames
[] = {
36228 (char *) "self",(char *) "accel", NULL
36231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36233 if (SWIG_arg_fail(1)) SWIG_fail
;
36234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36235 if (SWIG_arg_fail(2)) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->SetAccel(arg2
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36243 Py_INCREF(Py_None
); resultobj
= Py_None
;
36250 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 PyObject
* obj1
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "self",(char *) "font", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36262 if (SWIG_arg_fail(1)) SWIG_fail
;
36264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36265 if (SWIG_arg_fail(2)) SWIG_fail
;
36266 if (arg2
== NULL
) {
36267 SWIG_null_ref("wxFont");
36269 if (SWIG_arg_fail(2)) SWIG_fail
;
36272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36273 (arg1
)->SetFont((wxFont
const &)*arg2
);
36275 wxPyEndAllowThreads(__tstate
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36278 Py_INCREF(Py_None
); resultobj
= Py_None
;
36285 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
;
36287 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36289 PyObject
* obj0
= 0 ;
36290 char *kwnames
[] = {
36291 (char *) "self", NULL
36294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36296 if (SWIG_arg_fail(1)) SWIG_fail
;
36298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36299 result
= (arg1
)->GetFont();
36301 wxPyEndAllowThreads(__tstate
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36305 wxFont
* resultptr
;
36306 resultptr
= new wxFont((wxFont
&)(result
));
36307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36315 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36316 PyObject
*resultobj
;
36317 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36318 wxColour
*arg2
= 0 ;
36320 PyObject
* obj0
= 0 ;
36321 PyObject
* obj1
= 0 ;
36322 char *kwnames
[] = {
36323 (char *) "self",(char *) "colText", NULL
36326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36328 if (SWIG_arg_fail(1)) SWIG_fail
;
36331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36335 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36337 wxPyEndAllowThreads(__tstate
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36340 Py_INCREF(Py_None
); resultobj
= Py_None
;
36347 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
;
36349 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36351 PyObject
* obj0
= 0 ;
36352 char *kwnames
[] = {
36353 (char *) "self", NULL
36356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36358 if (SWIG_arg_fail(1)) SWIG_fail
;
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 result
= (arg1
)->GetTextColour();
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36367 wxColour
* resultptr
;
36368 resultptr
= new wxColour((wxColour
&)(result
));
36369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36377 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36378 PyObject
*resultobj
;
36379 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36380 wxColour
*arg2
= 0 ;
36382 PyObject
* obj0
= 0 ;
36383 PyObject
* obj1
= 0 ;
36384 char *kwnames
[] = {
36385 (char *) "self",(char *) "colBack", NULL
36388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36390 if (SWIG_arg_fail(1)) SWIG_fail
;
36393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36399 wxPyEndAllowThreads(__tstate
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36402 Py_INCREF(Py_None
); resultobj
= Py_None
;
36409 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36410 PyObject
*resultobj
;
36411 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36413 PyObject
* obj0
= 0 ;
36414 char *kwnames
[] = {
36415 (char *) "self", NULL
36418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36420 if (SWIG_arg_fail(1)) SWIG_fail
;
36422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36423 result
= (arg1
)->GetBackgroundColour();
36425 wxPyEndAllowThreads(__tstate
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36429 wxColour
* resultptr
;
36430 resultptr
= new wxColour((wxColour
&)(result
));
36431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36439 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36440 PyObject
*resultobj
;
36441 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36442 wxBitmap
*arg2
= 0 ;
36443 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36444 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36445 PyObject
* obj0
= 0 ;
36446 PyObject
* obj1
= 0 ;
36447 PyObject
* obj2
= 0 ;
36448 char *kwnames
[] = {
36449 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36454 if (SWIG_arg_fail(1)) SWIG_fail
;
36456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36457 if (SWIG_arg_fail(2)) SWIG_fail
;
36458 if (arg2
== NULL
) {
36459 SWIG_null_ref("wxBitmap");
36461 if (SWIG_arg_fail(2)) SWIG_fail
;
36465 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36466 if (SWIG_arg_fail(3)) SWIG_fail
;
36467 if (arg3
== NULL
) {
36468 SWIG_null_ref("wxBitmap");
36470 if (SWIG_arg_fail(3)) SWIG_fail
;
36474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36475 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36477 wxPyEndAllowThreads(__tstate
);
36478 if (PyErr_Occurred()) SWIG_fail
;
36480 Py_INCREF(Py_None
); resultobj
= Py_None
;
36487 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
;
36489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36490 wxBitmap
*arg2
= 0 ;
36491 PyObject
* obj0
= 0 ;
36492 PyObject
* obj1
= 0 ;
36493 char *kwnames
[] = {
36494 (char *) "self",(char *) "bmpDisabled", NULL
36497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36499 if (SWIG_arg_fail(1)) SWIG_fail
;
36501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36502 if (SWIG_arg_fail(2)) SWIG_fail
;
36503 if (arg2
== NULL
) {
36504 SWIG_null_ref("wxBitmap");
36506 if (SWIG_arg_fail(2)) SWIG_fail
;
36509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36510 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36512 wxPyEndAllowThreads(__tstate
);
36513 if (PyErr_Occurred()) SWIG_fail
;
36515 Py_INCREF(Py_None
); resultobj
= Py_None
;
36522 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36523 PyObject
*resultobj
;
36524 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36526 PyObject
* obj0
= 0 ;
36527 char *kwnames
[] = {
36528 (char *) "self", NULL
36531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36533 if (SWIG_arg_fail(1)) SWIG_fail
;
36535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36538 result
= (wxBitmap
*) &_result_ref
;
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36545 wxBitmap
* resultptr
= new wxBitmap(*result
);
36546 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36554 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36555 PyObject
*resultobj
;
36556 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 char *kwnames
[] = {
36561 (char *) "self",(char *) "nWidth", NULL
36564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36566 if (SWIG_arg_fail(1)) SWIG_fail
;
36568 arg2
= (int)(SWIG_As_int(obj1
));
36569 if (SWIG_arg_fail(2)) SWIG_fail
;
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 (arg1
)->SetMarginWidth(arg2
);
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 Py_INCREF(Py_None
); resultobj
= Py_None
;
36585 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36586 PyObject
*resultobj
;
36587 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36589 PyObject
* obj0
= 0 ;
36590 char *kwnames
[] = {
36591 (char *) "self", NULL
36594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36596 if (SWIG_arg_fail(1)) SWIG_fail
;
36598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36599 result
= (int)(arg1
)->GetMarginWidth();
36601 wxPyEndAllowThreads(__tstate
);
36602 if (PyErr_Occurred()) SWIG_fail
;
36605 resultobj
= SWIG_From_int((int)(result
));
36613 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
;
36616 char *kwnames
[] = {
36620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36625 wxPyEndAllowThreads(__tstate
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= SWIG_From_int((int)(result
));
36637 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36638 PyObject
*resultobj
;
36639 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36641 PyObject
* obj0
= 0 ;
36642 char *kwnames
[] = {
36643 (char *) "self", NULL
36646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36648 if (SWIG_arg_fail(1)) SWIG_fail
;
36650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36651 result
= (bool)(arg1
)->IsOwnerDrawn();
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36665 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36666 PyObject
*resultobj
;
36667 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36668 bool arg2
= (bool) true ;
36669 PyObject
* obj0
= 0 ;
36670 PyObject
* obj1
= 0 ;
36671 char *kwnames
[] = {
36672 (char *) "self",(char *) "ownerDrawn", NULL
36675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36677 if (SWIG_arg_fail(1)) SWIG_fail
;
36680 arg2
= (bool)(SWIG_As_bool(obj1
));
36681 if (SWIG_arg_fail(2)) SWIG_fail
;
36685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36686 (arg1
)->SetOwnerDrawn(arg2
);
36688 wxPyEndAllowThreads(__tstate
);
36689 if (PyErr_Occurred()) SWIG_fail
;
36691 Py_INCREF(Py_None
); resultobj
= Py_None
;
36698 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36699 PyObject
*resultobj
;
36700 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36701 PyObject
* obj0
= 0 ;
36702 char *kwnames
[] = {
36703 (char *) "self", NULL
36706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36708 if (SWIG_arg_fail(1)) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 (arg1
)->ResetOwnerDrawn();
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36716 Py_INCREF(Py_None
); resultobj
= Py_None
;
36723 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36724 PyObject
*resultobj
;
36725 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36726 wxBitmap
*arg2
= 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 char *kwnames
[] = {
36730 (char *) "self",(char *) "bitmap", NULL
36733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36735 if (SWIG_arg_fail(1)) SWIG_fail
;
36737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36738 if (SWIG_arg_fail(2)) SWIG_fail
;
36739 if (arg2
== NULL
) {
36740 SWIG_null_ref("wxBitmap");
36742 if (SWIG_arg_fail(2)) SWIG_fail
;
36745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36746 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 Py_INCREF(Py_None
); resultobj
= Py_None
;
36758 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
;
36760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36762 PyObject
* obj0
= 0 ;
36763 char *kwnames
[] = {
36764 (char *) "self", NULL
36767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36769 if (SWIG_arg_fail(1)) SWIG_fail
;
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36774 result
= (wxBitmap
*) &_result_ref
;
36777 wxPyEndAllowThreads(__tstate
);
36778 if (PyErr_Occurred()) SWIG_fail
;
36781 wxBitmap
* resultptr
= new wxBitmap(*result
);
36782 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36790 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36793 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36795 return Py_BuildValue((char *)"");
36797 static int _wrap_ControlNameStr_set(PyObject
*) {
36798 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36803 static PyObject
*_wrap_ControlNameStr_get(void) {
36808 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36810 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36817 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36818 PyObject
*resultobj
;
36819 wxWindow
*arg1
= (wxWindow
*) 0 ;
36820 int arg2
= (int) -1 ;
36821 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36822 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36823 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36824 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36825 long arg5
= (long) 0 ;
36826 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36827 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36828 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36829 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36833 bool temp7
= false ;
36834 PyObject
* obj0
= 0 ;
36835 PyObject
* obj1
= 0 ;
36836 PyObject
* obj2
= 0 ;
36837 PyObject
* obj3
= 0 ;
36838 PyObject
* obj4
= 0 ;
36839 PyObject
* obj5
= 0 ;
36840 PyObject
* obj6
= 0 ;
36841 char *kwnames
[] = {
36842 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36847 if (SWIG_arg_fail(1)) SWIG_fail
;
36850 arg2
= (int)(SWIG_As_int(obj1
));
36851 if (SWIG_arg_fail(2)) SWIG_fail
;
36857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36868 arg5
= (long)(SWIG_As_long(obj4
));
36869 if (SWIG_arg_fail(5)) SWIG_fail
;
36874 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36875 if (SWIG_arg_fail(6)) SWIG_fail
;
36876 if (arg6
== NULL
) {
36877 SWIG_null_ref("wxValidator");
36879 if (SWIG_arg_fail(6)) SWIG_fail
;
36884 arg7
= wxString_in_helper(obj6
);
36885 if (arg7
== NULL
) SWIG_fail
;
36890 if (!wxPyCheckForApp()) SWIG_fail
;
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36912 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36913 PyObject
*resultobj
;
36915 char *kwnames
[] = {
36919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36921 if (!wxPyCheckForApp()) SWIG_fail
;
36922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36923 result
= (wxControl
*)new wxControl();
36925 wxPyEndAllowThreads(__tstate
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36935 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36936 PyObject
*resultobj
;
36937 wxControl
*arg1
= (wxControl
*) 0 ;
36938 wxWindow
*arg2
= (wxWindow
*) 0 ;
36939 int arg3
= (int) -1 ;
36940 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36941 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36942 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36943 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36944 long arg6
= (long) 0 ;
36945 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36946 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36947 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36948 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36952 bool temp8
= false ;
36953 PyObject
* obj0
= 0 ;
36954 PyObject
* obj1
= 0 ;
36955 PyObject
* obj2
= 0 ;
36956 PyObject
* obj3
= 0 ;
36957 PyObject
* obj4
= 0 ;
36958 PyObject
* obj5
= 0 ;
36959 PyObject
* obj6
= 0 ;
36960 PyObject
* obj7
= 0 ;
36961 char *kwnames
[] = {
36962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36967 if (SWIG_arg_fail(1)) SWIG_fail
;
36968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36969 if (SWIG_arg_fail(2)) SWIG_fail
;
36972 arg3
= (int)(SWIG_As_int(obj2
));
36973 if (SWIG_arg_fail(3)) SWIG_fail
;
36979 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36985 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36990 arg6
= (long)(SWIG_As_long(obj5
));
36991 if (SWIG_arg_fail(6)) SWIG_fail
;
36996 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36997 if (SWIG_arg_fail(7)) SWIG_fail
;
36998 if (arg7
== NULL
) {
36999 SWIG_null_ref("wxValidator");
37001 if (SWIG_arg_fail(7)) SWIG_fail
;
37006 arg8
= wxString_in_helper(obj7
);
37007 if (arg8
== NULL
) SWIG_fail
;
37012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37035 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37036 PyObject
*resultobj
;
37037 wxControl
*arg1
= (wxControl
*) 0 ;
37038 wxCommandEvent
*arg2
= 0 ;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 char *kwnames
[] = {
37042 (char *) "self",(char *) "event", NULL
37045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37047 if (SWIG_arg_fail(1)) SWIG_fail
;
37049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37050 if (SWIG_arg_fail(2)) SWIG_fail
;
37051 if (arg2
== NULL
) {
37052 SWIG_null_ref("wxCommandEvent");
37054 if (SWIG_arg_fail(2)) SWIG_fail
;
37057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37058 (arg1
)->Command(*arg2
);
37060 wxPyEndAllowThreads(__tstate
);
37061 if (PyErr_Occurred()) SWIG_fail
;
37063 Py_INCREF(Py_None
); resultobj
= Py_None
;
37070 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
;
37072 wxControl
*arg1
= (wxControl
*) 0 ;
37074 PyObject
* obj0
= 0 ;
37075 char *kwnames
[] = {
37076 (char *) "self", NULL
37079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37081 if (SWIG_arg_fail(1)) SWIG_fail
;
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 result
= (arg1
)->GetLabel();
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37102 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37103 PyObject
*resultobj
;
37104 wxControl
*arg1
= (wxControl
*) 0 ;
37105 wxString
*arg2
= 0 ;
37106 bool temp2
= false ;
37107 PyObject
* obj0
= 0 ;
37108 PyObject
* obj1
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "self",(char *) "label", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37115 if (SWIG_arg_fail(1)) SWIG_fail
;
37117 arg2
= wxString_in_helper(obj1
);
37118 if (arg2
== NULL
) SWIG_fail
;
37122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37123 (arg1
)->SetLabel((wxString
const &)*arg2
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37128 Py_INCREF(Py_None
); resultobj
= Py_None
;
37143 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37144 PyObject
*resultobj
;
37145 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37146 wxVisualAttributes result
;
37147 PyObject
* obj0
= 0 ;
37148 char *kwnames
[] = {
37149 (char *) "variant", NULL
37152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37155 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37156 if (SWIG_arg_fail(1)) SWIG_fail
;
37160 if (!wxPyCheckForApp()) SWIG_fail
;
37161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37162 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37168 wxVisualAttributes
* resultptr
;
37169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37178 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37181 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37183 return Py_BuildValue((char *)"");
37185 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37186 PyObject
*resultobj
;
37187 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37188 wxString
*arg2
= 0 ;
37189 PyObject
*arg3
= (PyObject
*) NULL
;
37191 bool temp2
= false ;
37192 PyObject
* obj0
= 0 ;
37193 PyObject
* obj1
= 0 ;
37194 PyObject
* obj2
= 0 ;
37195 char *kwnames
[] = {
37196 (char *) "self",(char *) "item",(char *) "clientData", NULL
37199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37201 if (SWIG_arg_fail(1)) SWIG_fail
;
37203 arg2
= wxString_in_helper(obj1
);
37204 if (arg2
== NULL
) SWIG_fail
;
37211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37212 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37214 wxPyEndAllowThreads(__tstate
);
37215 if (PyErr_Occurred()) SWIG_fail
;
37218 resultobj
= SWIG_From_int((int)(result
));
37234 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37235 PyObject
*resultobj
;
37236 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37237 wxArrayString
*arg2
= 0 ;
37238 bool temp2
= false ;
37239 PyObject
* obj0
= 0 ;
37240 PyObject
* obj1
= 0 ;
37241 char *kwnames
[] = {
37242 (char *) "self",(char *) "strings", NULL
37245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37247 if (SWIG_arg_fail(1)) SWIG_fail
;
37249 if (! PySequence_Check(obj1
)) {
37250 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37253 arg2
= new wxArrayString
;
37255 int i
, len
=PySequence_Length(obj1
);
37256 for (i
=0; i
<len
; i
++) {
37257 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37259 PyObject
* str
= PyObject_Unicode(item
);
37261 PyObject
* str
= PyObject_Str(item
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37264 arg2
->Add(Py2wxString(str
));
37270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37271 (arg1
)->Append((wxArrayString
const &)*arg2
);
37273 wxPyEndAllowThreads(__tstate
);
37274 if (PyErr_Occurred()) SWIG_fail
;
37276 Py_INCREF(Py_None
); resultobj
= Py_None
;
37278 if (temp2
) delete arg2
;
37283 if (temp2
) delete arg2
;
37289 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37290 PyObject
*resultobj
;
37291 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37292 wxString
*arg2
= 0 ;
37294 PyObject
*arg4
= (PyObject
*) NULL
;
37296 bool temp2
= false ;
37297 PyObject
* obj0
= 0 ;
37298 PyObject
* obj1
= 0 ;
37299 PyObject
* obj2
= 0 ;
37300 PyObject
* obj3
= 0 ;
37301 char *kwnames
[] = {
37302 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37307 if (SWIG_arg_fail(1)) SWIG_fail
;
37309 arg2
= wxString_in_helper(obj1
);
37310 if (arg2
== NULL
) SWIG_fail
;
37314 arg3
= (int)(SWIG_As_int(obj2
));
37315 if (SWIG_arg_fail(3)) SWIG_fail
;
37321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37322 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37324 wxPyEndAllowThreads(__tstate
);
37325 if (PyErr_Occurred()) SWIG_fail
;
37328 resultobj
= SWIG_From_int((int)(result
));
37344 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37345 PyObject
*resultobj
;
37346 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37347 PyObject
* obj0
= 0 ;
37348 char *kwnames
[] = {
37349 (char *) "self", NULL
37352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37354 if (SWIG_arg_fail(1)) SWIG_fail
;
37356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37359 wxPyEndAllowThreads(__tstate
);
37360 if (PyErr_Occurred()) SWIG_fail
;
37362 Py_INCREF(Py_None
); resultobj
= Py_None
;
37369 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37370 PyObject
*resultobj
;
37371 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37373 PyObject
* obj0
= 0 ;
37374 PyObject
* obj1
= 0 ;
37375 char *kwnames
[] = {
37376 (char *) "self",(char *) "n", NULL
37379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37381 if (SWIG_arg_fail(1)) SWIG_fail
;
37383 arg2
= (int)(SWIG_As_int(obj1
));
37384 if (SWIG_arg_fail(2)) SWIG_fail
;
37387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37388 (arg1
)->Delete(arg2
);
37390 wxPyEndAllowThreads(__tstate
);
37391 if (PyErr_Occurred()) SWIG_fail
;
37393 Py_INCREF(Py_None
); resultobj
= Py_None
;
37400 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37401 PyObject
*resultobj
;
37402 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 char *kwnames
[] = {
37408 (char *) "self",(char *) "n", NULL
37411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37413 if (SWIG_arg_fail(1)) SWIG_fail
;
37415 arg2
= (int)(SWIG_As_int(obj1
));
37416 if (SWIG_arg_fail(2)) SWIG_fail
;
37419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37420 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37422 wxPyEndAllowThreads(__tstate
);
37423 if (PyErr_Occurred()) SWIG_fail
;
37425 resultobj
= result
;
37432 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37433 PyObject
*resultobj
;
37434 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37436 PyObject
*arg3
= (PyObject
*) 0 ;
37437 PyObject
* obj0
= 0 ;
37438 PyObject
* obj1
= 0 ;
37439 PyObject
* obj2
= 0 ;
37440 char *kwnames
[] = {
37441 (char *) "self",(char *) "n",(char *) "clientData", NULL
37444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37446 if (SWIG_arg_fail(1)) SWIG_fail
;
37448 arg2
= (int)(SWIG_As_int(obj1
));
37449 if (SWIG_arg_fail(2)) SWIG_fail
;
37453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37454 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37459 Py_INCREF(Py_None
); resultobj
= Py_None
;
37466 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37467 PyObject
*resultobj
;
37468 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37470 PyObject
* obj0
= 0 ;
37471 char *kwnames
[] = {
37472 (char *) "self", NULL
37475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37477 if (SWIG_arg_fail(1)) SWIG_fail
;
37479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37480 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37482 wxPyEndAllowThreads(__tstate
);
37483 if (PyErr_Occurred()) SWIG_fail
;
37486 resultobj
= SWIG_From_int((int)(result
));
37494 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37495 PyObject
*resultobj
;
37496 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37498 PyObject
* obj0
= 0 ;
37499 char *kwnames
[] = {
37500 (char *) "self", NULL
37503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37505 if (SWIG_arg_fail(1)) SWIG_fail
;
37507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37508 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37510 wxPyEndAllowThreads(__tstate
);
37511 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37522 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37523 PyObject
*resultobj
;
37524 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37527 PyObject
* obj0
= 0 ;
37528 PyObject
* obj1
= 0 ;
37529 char *kwnames
[] = {
37530 (char *) "self",(char *) "n", NULL
37533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37535 if (SWIG_arg_fail(1)) SWIG_fail
;
37537 arg2
= (int)(SWIG_As_int(obj1
));
37538 if (SWIG_arg_fail(2)) SWIG_fail
;
37541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37542 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37544 wxPyEndAllowThreads(__tstate
);
37545 if (PyErr_Occurred()) SWIG_fail
;
37549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37560 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37561 PyObject
*resultobj
;
37562 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37563 wxArrayString result
;
37564 PyObject
* obj0
= 0 ;
37565 char *kwnames
[] = {
37566 (char *) "self", NULL
37569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37571 if (SWIG_arg_fail(1)) SWIG_fail
;
37573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37574 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37576 wxPyEndAllowThreads(__tstate
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37580 resultobj
= wxArrayString2PyList_helper(result
);
37588 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37589 PyObject
*resultobj
;
37590 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37592 wxString
*arg3
= 0 ;
37593 bool temp3
= false ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 PyObject
* obj2
= 0 ;
37597 char *kwnames
[] = {
37598 (char *) "self",(char *) "n",(char *) "s", NULL
37601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37603 if (SWIG_arg_fail(1)) SWIG_fail
;
37605 arg2
= (int)(SWIG_As_int(obj1
));
37606 if (SWIG_arg_fail(2)) SWIG_fail
;
37609 arg3
= wxString_in_helper(obj2
);
37610 if (arg3
== NULL
) SWIG_fail
;
37614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37615 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37617 wxPyEndAllowThreads(__tstate
);
37618 if (PyErr_Occurred()) SWIG_fail
;
37620 Py_INCREF(Py_None
); resultobj
= Py_None
;
37635 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37636 PyObject
*resultobj
;
37637 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37638 wxString
*arg2
= 0 ;
37640 bool temp2
= false ;
37641 PyObject
* obj0
= 0 ;
37642 PyObject
* obj1
= 0 ;
37643 char *kwnames
[] = {
37644 (char *) "self",(char *) "s", NULL
37647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37649 if (SWIG_arg_fail(1)) SWIG_fail
;
37651 arg2
= wxString_in_helper(obj1
);
37652 if (arg2
== NULL
) SWIG_fail
;
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37659 wxPyEndAllowThreads(__tstate
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37663 resultobj
= SWIG_From_int((int)(result
));
37679 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37680 PyObject
*resultobj
;
37681 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37683 PyObject
* obj0
= 0 ;
37684 PyObject
* obj1
= 0 ;
37685 char *kwnames
[] = {
37686 (char *) "self",(char *) "n", NULL
37689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",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
= (int)(SWIG_As_int(obj1
));
37694 if (SWIG_arg_fail(2)) SWIG_fail
;
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 (arg1
)->SetSelection(arg2
);
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 Py_INCREF(Py_None
); resultobj
= Py_None
;
37710 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37711 PyObject
*resultobj
;
37712 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37714 PyObject
* obj0
= 0 ;
37715 char *kwnames
[] = {
37716 (char *) "self", NULL
37719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37721 if (SWIG_arg_fail(1)) SWIG_fail
;
37723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37724 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37726 wxPyEndAllowThreads(__tstate
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37730 resultobj
= SWIG_From_int((int)(result
));
37738 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37739 PyObject
*resultobj
;
37740 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37741 wxString
*arg2
= 0 ;
37743 bool temp2
= false ;
37744 PyObject
* obj0
= 0 ;
37745 PyObject
* obj1
= 0 ;
37746 char *kwnames
[] = {
37747 (char *) "self",(char *) "s", NULL
37750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37752 if (SWIG_arg_fail(1)) SWIG_fail
;
37754 arg2
= wxString_in_helper(obj1
);
37755 if (arg2
== NULL
) SWIG_fail
;
37759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37760 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37782 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37783 PyObject
*resultobj
;
37784 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37786 PyObject
* obj0
= 0 ;
37787 char *kwnames
[] = {
37788 (char *) "self", NULL
37791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37793 if (SWIG_arg_fail(1)) SWIG_fail
;
37795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37796 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37798 wxPyEndAllowThreads(__tstate
);
37799 if (PyErr_Occurred()) SWIG_fail
;
37803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37814 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37815 PyObject
*resultobj
;
37816 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37818 PyObject
* obj0
= 0 ;
37819 PyObject
* obj1
= 0 ;
37820 char *kwnames
[] = {
37821 (char *) "self",(char *) "n", NULL
37824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37826 if (SWIG_arg_fail(1)) SWIG_fail
;
37828 arg2
= (int)(SWIG_As_int(obj1
));
37829 if (SWIG_arg_fail(2)) SWIG_fail
;
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 (arg1
)->Select(arg2
);
37835 wxPyEndAllowThreads(__tstate
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37838 Py_INCREF(Py_None
); resultobj
= Py_None
;
37845 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37848 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37850 return Py_BuildValue((char *)"");
37852 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37855 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37857 return Py_BuildValue((char *)"");
37859 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37860 PyObject
*resultobj
;
37861 wxSizerItem
*result
;
37862 char *kwnames
[] = {
37866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 result
= (wxSizerItem
*)new wxSizerItem();
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37881 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37882 PyObject
*resultobj
;
37883 wxWindow
*arg1
= (wxWindow
*) 0 ;
37887 PyObject
*arg5
= (PyObject
*) NULL
;
37888 wxSizerItem
*result
;
37889 PyObject
* obj0
= 0 ;
37890 PyObject
* obj1
= 0 ;
37891 PyObject
* obj2
= 0 ;
37892 PyObject
* obj3
= 0 ;
37893 PyObject
* obj4
= 0 ;
37894 char *kwnames
[] = {
37895 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37900 if (SWIG_arg_fail(1)) SWIG_fail
;
37902 arg2
= (int)(SWIG_As_int(obj1
));
37903 if (SWIG_arg_fail(2)) SWIG_fail
;
37906 arg3
= (int)(SWIG_As_int(obj2
));
37907 if (SWIG_arg_fail(3)) SWIG_fail
;
37910 arg4
= (int)(SWIG_As_int(obj3
));
37911 if (SWIG_arg_fail(4)) SWIG_fail
;
37917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37918 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37920 wxPyEndAllowThreads(__tstate
);
37921 if (PyErr_Occurred()) SWIG_fail
;
37923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37930 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37931 PyObject
*resultobj
;
37937 PyObject
*arg6
= (PyObject
*) NULL
;
37938 wxSizerItem
*result
;
37939 PyObject
* obj0
= 0 ;
37940 PyObject
* obj1
= 0 ;
37941 PyObject
* obj2
= 0 ;
37942 PyObject
* obj3
= 0 ;
37943 PyObject
* obj4
= 0 ;
37944 PyObject
* obj5
= 0 ;
37945 char *kwnames
[] = {
37946 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37951 arg1
= (int)(SWIG_As_int(obj0
));
37952 if (SWIG_arg_fail(1)) SWIG_fail
;
37955 arg2
= (int)(SWIG_As_int(obj1
));
37956 if (SWIG_arg_fail(2)) SWIG_fail
;
37959 arg3
= (int)(SWIG_As_int(obj2
));
37960 if (SWIG_arg_fail(3)) SWIG_fail
;
37963 arg4
= (int)(SWIG_As_int(obj3
));
37964 if (SWIG_arg_fail(4)) SWIG_fail
;
37967 arg5
= (int)(SWIG_As_int(obj4
));
37968 if (SWIG_arg_fail(5)) SWIG_fail
;
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37987 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37988 PyObject
*resultobj
;
37989 wxSizer
*arg1
= (wxSizer
*) 0 ;
37993 PyObject
*arg5
= (PyObject
*) NULL
;
37994 wxSizerItem
*result
;
37995 PyObject
* obj0
= 0 ;
37996 PyObject
* obj1
= 0 ;
37997 PyObject
* obj2
= 0 ;
37998 PyObject
* obj3
= 0 ;
37999 PyObject
* obj4
= 0 ;
38000 char *kwnames
[] = {
38001 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38006 if (SWIG_arg_fail(1)) SWIG_fail
;
38008 arg2
= (int)(SWIG_As_int(obj1
));
38009 if (SWIG_arg_fail(2)) SWIG_fail
;
38012 arg3
= (int)(SWIG_As_int(obj2
));
38013 if (SWIG_arg_fail(3)) SWIG_fail
;
38016 arg4
= (int)(SWIG_As_int(obj3
));
38017 if (SWIG_arg_fail(4)) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38036 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
;
38038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38039 PyObject
* obj0
= 0 ;
38040 char *kwnames
[] = {
38041 (char *) "self", NULL
38044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38046 if (SWIG_arg_fail(1)) SWIG_fail
;
38048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38049 (arg1
)->DeleteWindows();
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38054 Py_INCREF(Py_None
); resultobj
= Py_None
;
38061 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38062 PyObject
*resultobj
;
38063 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38064 PyObject
* obj0
= 0 ;
38065 char *kwnames
[] = {
38066 (char *) "self", NULL
38069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38071 if (SWIG_arg_fail(1)) SWIG_fail
;
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 (arg1
)->DetachSizer();
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38079 Py_INCREF(Py_None
); resultobj
= Py_None
;
38086 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38087 PyObject
*resultobj
;
38088 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38090 PyObject
* obj0
= 0 ;
38091 char *kwnames
[] = {
38092 (char *) "self", NULL
38095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38097 if (SWIG_arg_fail(1)) SWIG_fail
;
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 result
= (arg1
)->GetSize();
38102 wxPyEndAllowThreads(__tstate
);
38103 if (PyErr_Occurred()) SWIG_fail
;
38106 wxSize
* resultptr
;
38107 resultptr
= new wxSize((wxSize
&)(result
));
38108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38116 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38117 PyObject
*resultobj
;
38118 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38120 PyObject
* obj0
= 0 ;
38121 char *kwnames
[] = {
38122 (char *) "self", NULL
38125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38127 if (SWIG_arg_fail(1)) SWIG_fail
;
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 result
= (arg1
)->CalcMin();
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38136 wxSize
* resultptr
;
38137 resultptr
= new wxSize((wxSize
&)(result
));
38138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38146 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38147 PyObject
*resultobj
;
38148 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38151 PyObject
* obj0
= 0 ;
38152 PyObject
* obj1
= 0 ;
38153 PyObject
* obj2
= 0 ;
38154 char *kwnames
[] = {
38155 (char *) "self",(char *) "pos",(char *) "size", NULL
38158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38160 if (SWIG_arg_fail(1)) SWIG_fail
;
38163 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38164 if (SWIG_arg_fail(2)) SWIG_fail
;
38165 if (argp
== NULL
) {
38166 SWIG_null_ref("wxPoint");
38168 if (SWIG_arg_fail(2)) SWIG_fail
;
38173 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38174 if (SWIG_arg_fail(3)) SWIG_fail
;
38175 if (argp
== NULL
) {
38176 SWIG_null_ref("wxSize");
38178 if (SWIG_arg_fail(3)) SWIG_fail
;
38182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38183 (arg1
)->SetDimension(arg2
,arg3
);
38185 wxPyEndAllowThreads(__tstate
);
38186 if (PyErr_Occurred()) SWIG_fail
;
38188 Py_INCREF(Py_None
); resultobj
= Py_None
;
38195 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38196 PyObject
*resultobj
;
38197 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38199 PyObject
* obj0
= 0 ;
38200 char *kwnames
[] = {
38201 (char *) "self", NULL
38204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38206 if (SWIG_arg_fail(1)) SWIG_fail
;
38208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38209 result
= (arg1
)->GetMinSize();
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38215 wxSize
* resultptr
;
38216 resultptr
= new wxSize((wxSize
&)(result
));
38217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38225 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38226 PyObject
*resultobj
;
38227 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38229 PyObject
* obj0
= 0 ;
38230 char *kwnames
[] = {
38231 (char *) "self", NULL
38234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38236 if (SWIG_arg_fail(1)) SWIG_fail
;
38238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38239 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38241 wxPyEndAllowThreads(__tstate
);
38242 if (PyErr_Occurred()) SWIG_fail
;
38245 wxSize
* resultptr
;
38246 resultptr
= new wxSize((wxSize
&)(result
));
38247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38255 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38256 PyObject
*resultobj
;
38257 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38260 PyObject
* obj0
= 0 ;
38261 PyObject
* obj1
= 0 ;
38262 PyObject
* obj2
= 0 ;
38263 char *kwnames
[] = {
38264 (char *) "self",(char *) "x",(char *) "y", NULL
38267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38269 if (SWIG_arg_fail(1)) SWIG_fail
;
38271 arg2
= (int)(SWIG_As_int(obj1
));
38272 if (SWIG_arg_fail(2)) SWIG_fail
;
38275 arg3
= (int)(SWIG_As_int(obj2
));
38276 if (SWIG_arg_fail(3)) SWIG_fail
;
38279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38280 (arg1
)->SetInitSize(arg2
,arg3
);
38282 wxPyEndAllowThreads(__tstate
);
38283 if (PyErr_Occurred()) SWIG_fail
;
38285 Py_INCREF(Py_None
); resultobj
= Py_None
;
38292 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38293 PyObject
*resultobj
;
38294 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38297 PyObject
* obj0
= 0 ;
38298 PyObject
* obj1
= 0 ;
38299 PyObject
* obj2
= 0 ;
38300 char *kwnames
[] = {
38301 (char *) "self",(char *) "width",(char *) "height", NULL
38304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38306 if (SWIG_arg_fail(1)) SWIG_fail
;
38308 arg2
= (int)(SWIG_As_int(obj1
));
38309 if (SWIG_arg_fail(2)) SWIG_fail
;
38312 arg3
= (int)(SWIG_As_int(obj2
));
38313 if (SWIG_arg_fail(3)) SWIG_fail
;
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 (arg1
)->SetRatio(arg2
,arg3
);
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38322 Py_INCREF(Py_None
); resultobj
= Py_None
;
38329 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38330 PyObject
*resultobj
;
38331 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38333 PyObject
* obj0
= 0 ;
38334 PyObject
* obj1
= 0 ;
38335 char *kwnames
[] = {
38336 (char *) "self",(char *) "size", NULL
38339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38341 if (SWIG_arg_fail(1)) SWIG_fail
;
38344 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38345 if (SWIG_arg_fail(2)) SWIG_fail
;
38346 if (argp
== NULL
) {
38347 SWIG_null_ref("wxSize");
38349 if (SWIG_arg_fail(2)) SWIG_fail
;
38353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38354 (arg1
)->SetRatio(arg2
);
38356 wxPyEndAllowThreads(__tstate
);
38357 if (PyErr_Occurred()) SWIG_fail
;
38359 Py_INCREF(Py_None
); resultobj
= Py_None
;
38366 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38367 PyObject
*resultobj
;
38368 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38370 PyObject
* obj0
= 0 ;
38371 PyObject
* obj1
= 0 ;
38372 char *kwnames
[] = {
38373 (char *) "self",(char *) "ratio", NULL
38376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38378 if (SWIG_arg_fail(1)) SWIG_fail
;
38380 arg2
= (float)(SWIG_As_float(obj1
));
38381 if (SWIG_arg_fail(2)) SWIG_fail
;
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 (arg1
)->SetRatio(arg2
);
38387 wxPyEndAllowThreads(__tstate
);
38388 if (PyErr_Occurred()) SWIG_fail
;
38390 Py_INCREF(Py_None
); resultobj
= Py_None
;
38397 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38398 PyObject
*resultobj
;
38399 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38401 PyObject
* obj0
= 0 ;
38402 char *kwnames
[] = {
38403 (char *) "self", NULL
38406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38408 if (SWIG_arg_fail(1)) SWIG_fail
;
38410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38411 result
= (float)(arg1
)->GetRatio();
38413 wxPyEndAllowThreads(__tstate
);
38414 if (PyErr_Occurred()) SWIG_fail
;
38417 resultobj
= SWIG_From_float((float)(result
));
38425 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
;
38427 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38429 PyObject
* obj0
= 0 ;
38430 char *kwnames
[] = {
38431 (char *) "self", NULL
38434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38436 if (SWIG_arg_fail(1)) SWIG_fail
;
38438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38439 result
= (arg1
)->GetRect();
38441 wxPyEndAllowThreads(__tstate
);
38442 if (PyErr_Occurred()) SWIG_fail
;
38445 wxRect
* resultptr
;
38446 resultptr
= new wxRect((wxRect
&)(result
));
38447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38455 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38456 PyObject
*resultobj
;
38457 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38459 PyObject
* obj0
= 0 ;
38460 char *kwnames
[] = {
38461 (char *) "self", NULL
38464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38466 if (SWIG_arg_fail(1)) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 result
= (bool)(arg1
)->IsWindow();
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38483 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38484 PyObject
*resultobj
;
38485 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38487 PyObject
* obj0
= 0 ;
38488 char *kwnames
[] = {
38489 (char *) "self", NULL
38492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38494 if (SWIG_arg_fail(1)) SWIG_fail
;
38496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38497 result
= (bool)(arg1
)->IsSizer();
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38511 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38512 PyObject
*resultobj
;
38513 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38515 PyObject
* obj0
= 0 ;
38516 char *kwnames
[] = {
38517 (char *) "self", NULL
38520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38522 if (SWIG_arg_fail(1)) SWIG_fail
;
38524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38525 result
= (bool)(arg1
)->IsSpacer();
38527 wxPyEndAllowThreads(__tstate
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38539 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38540 PyObject
*resultobj
;
38541 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 char *kwnames
[] = {
38546 (char *) "self",(char *) "proportion", NULL
38549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38551 if (SWIG_arg_fail(1)) SWIG_fail
;
38553 arg2
= (int)(SWIG_As_int(obj1
));
38554 if (SWIG_arg_fail(2)) SWIG_fail
;
38557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38558 (arg1
)->SetProportion(arg2
);
38560 wxPyEndAllowThreads(__tstate
);
38561 if (PyErr_Occurred()) SWIG_fail
;
38563 Py_INCREF(Py_None
); resultobj
= Py_None
;
38570 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38571 PyObject
*resultobj
;
38572 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38574 PyObject
* obj0
= 0 ;
38575 char *kwnames
[] = {
38576 (char *) "self", NULL
38579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38581 if (SWIG_arg_fail(1)) SWIG_fail
;
38583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38584 result
= (int)(arg1
)->GetProportion();
38586 wxPyEndAllowThreads(__tstate
);
38587 if (PyErr_Occurred()) SWIG_fail
;
38590 resultobj
= SWIG_From_int((int)(result
));
38598 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38599 PyObject
*resultobj
;
38600 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38602 PyObject
* obj0
= 0 ;
38603 PyObject
* obj1
= 0 ;
38604 char *kwnames
[] = {
38605 (char *) "self",(char *) "flag", NULL
38608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38610 if (SWIG_arg_fail(1)) SWIG_fail
;
38612 arg2
= (int)(SWIG_As_int(obj1
));
38613 if (SWIG_arg_fail(2)) SWIG_fail
;
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38617 (arg1
)->SetFlag(arg2
);
38619 wxPyEndAllowThreads(__tstate
);
38620 if (PyErr_Occurred()) SWIG_fail
;
38622 Py_INCREF(Py_None
); resultobj
= Py_None
;
38629 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38630 PyObject
*resultobj
;
38631 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38633 PyObject
* obj0
= 0 ;
38634 char *kwnames
[] = {
38635 (char *) "self", NULL
38638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38640 if (SWIG_arg_fail(1)) SWIG_fail
;
38642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38643 result
= (int)(arg1
)->GetFlag();
38645 wxPyEndAllowThreads(__tstate
);
38646 if (PyErr_Occurred()) SWIG_fail
;
38649 resultobj
= SWIG_From_int((int)(result
));
38657 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38658 PyObject
*resultobj
;
38659 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38661 PyObject
* obj0
= 0 ;
38662 PyObject
* obj1
= 0 ;
38663 char *kwnames
[] = {
38664 (char *) "self",(char *) "border", NULL
38667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38669 if (SWIG_arg_fail(1)) SWIG_fail
;
38671 arg2
= (int)(SWIG_As_int(obj1
));
38672 if (SWIG_arg_fail(2)) SWIG_fail
;
38675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38676 (arg1
)->SetBorder(arg2
);
38678 wxPyEndAllowThreads(__tstate
);
38679 if (PyErr_Occurred()) SWIG_fail
;
38681 Py_INCREF(Py_None
); resultobj
= Py_None
;
38688 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38689 PyObject
*resultobj
;
38690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38692 PyObject
* obj0
= 0 ;
38693 char *kwnames
[] = {
38694 (char *) "self", NULL
38697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38699 if (SWIG_arg_fail(1)) SWIG_fail
;
38701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38702 result
= (int)(arg1
)->GetBorder();
38704 wxPyEndAllowThreads(__tstate
);
38705 if (PyErr_Occurred()) SWIG_fail
;
38708 resultobj
= SWIG_From_int((int)(result
));
38716 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38717 PyObject
*resultobj
;
38718 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38720 PyObject
* obj0
= 0 ;
38721 char *kwnames
[] = {
38722 (char *) "self", NULL
38725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38727 if (SWIG_arg_fail(1)) SWIG_fail
;
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= (wxWindow
*)(arg1
)->GetWindow();
38732 wxPyEndAllowThreads(__tstate
);
38733 if (PyErr_Occurred()) SWIG_fail
;
38736 resultobj
= wxPyMake_wxObject(result
, 0);
38744 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38745 PyObject
*resultobj
;
38746 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38747 wxWindow
*arg2
= (wxWindow
*) 0 ;
38748 PyObject
* obj0
= 0 ;
38749 PyObject
* obj1
= 0 ;
38750 char *kwnames
[] = {
38751 (char *) "self",(char *) "window", NULL
38754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38756 if (SWIG_arg_fail(1)) SWIG_fail
;
38757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38758 if (SWIG_arg_fail(2)) SWIG_fail
;
38760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38761 (arg1
)->SetWindow(arg2
);
38763 wxPyEndAllowThreads(__tstate
);
38764 if (PyErr_Occurred()) SWIG_fail
;
38766 Py_INCREF(Py_None
); resultobj
= Py_None
;
38773 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38774 PyObject
*resultobj
;
38775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38777 PyObject
* obj0
= 0 ;
38778 char *kwnames
[] = {
38779 (char *) "self", NULL
38782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38784 if (SWIG_arg_fail(1)) SWIG_fail
;
38786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38787 result
= (wxSizer
*)(arg1
)->GetSizer();
38789 wxPyEndAllowThreads(__tstate
);
38790 if (PyErr_Occurred()) SWIG_fail
;
38793 resultobj
= wxPyMake_wxSizer(result
, 0);
38801 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38802 PyObject
*resultobj
;
38803 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38804 wxSizer
*arg2
= (wxSizer
*) 0 ;
38805 PyObject
* obj0
= 0 ;
38806 PyObject
* obj1
= 0 ;
38807 char *kwnames
[] = {
38808 (char *) "self",(char *) "sizer", NULL
38811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38813 if (SWIG_arg_fail(1)) SWIG_fail
;
38814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38815 if (SWIG_arg_fail(2)) SWIG_fail
;
38817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38818 (arg1
)->SetSizer(arg2
);
38820 wxPyEndAllowThreads(__tstate
);
38821 if (PyErr_Occurred()) SWIG_fail
;
38823 Py_INCREF(Py_None
); resultobj
= Py_None
;
38830 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38831 PyObject
*resultobj
;
38832 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38834 PyObject
* obj0
= 0 ;
38835 char *kwnames
[] = {
38836 (char *) "self", NULL
38839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38841 if (SWIG_arg_fail(1)) SWIG_fail
;
38843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38845 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38846 result
= (wxSize
*) &_result_ref
;
38849 wxPyEndAllowThreads(__tstate
);
38850 if (PyErr_Occurred()) SWIG_fail
;
38852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38859 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38860 PyObject
*resultobj
;
38861 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38864 PyObject
* obj0
= 0 ;
38865 PyObject
* obj1
= 0 ;
38866 char *kwnames
[] = {
38867 (char *) "self",(char *) "size", NULL
38870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38872 if (SWIG_arg_fail(1)) SWIG_fail
;
38875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38879 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38881 wxPyEndAllowThreads(__tstate
);
38882 if (PyErr_Occurred()) SWIG_fail
;
38884 Py_INCREF(Py_None
); resultobj
= Py_None
;
38891 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38892 PyObject
*resultobj
;
38893 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38895 PyObject
* obj0
= 0 ;
38896 PyObject
* obj1
= 0 ;
38897 char *kwnames
[] = {
38898 (char *) "self",(char *) "show", NULL
38901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38903 if (SWIG_arg_fail(1)) SWIG_fail
;
38905 arg2
= (bool)(SWIG_As_bool(obj1
));
38906 if (SWIG_arg_fail(2)) SWIG_fail
;
38909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38910 (arg1
)->Show(arg2
);
38912 wxPyEndAllowThreads(__tstate
);
38913 if (PyErr_Occurred()) SWIG_fail
;
38915 Py_INCREF(Py_None
); resultobj
= Py_None
;
38922 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38923 PyObject
*resultobj
;
38924 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38926 PyObject
* obj0
= 0 ;
38927 char *kwnames
[] = {
38928 (char *) "self", NULL
38931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38933 if (SWIG_arg_fail(1)) SWIG_fail
;
38935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38936 result
= (bool)(arg1
)->IsShown();
38938 wxPyEndAllowThreads(__tstate
);
38939 if (PyErr_Occurred()) SWIG_fail
;
38942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38950 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38951 PyObject
*resultobj
;
38952 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38954 PyObject
* obj0
= 0 ;
38955 char *kwnames
[] = {
38956 (char *) "self", NULL
38959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38961 if (SWIG_arg_fail(1)) SWIG_fail
;
38963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38964 result
= (arg1
)->GetPosition();
38966 wxPyEndAllowThreads(__tstate
);
38967 if (PyErr_Occurred()) SWIG_fail
;
38970 wxPoint
* resultptr
;
38971 resultptr
= new wxPoint((wxPoint
&)(result
));
38972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38980 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38981 PyObject
*resultobj
;
38982 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38984 PyObject
* obj0
= 0 ;
38985 char *kwnames
[] = {
38986 (char *) "self", NULL
38989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38991 if (SWIG_arg_fail(1)) SWIG_fail
;
38993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38994 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38996 wxPyEndAllowThreads(__tstate
);
38997 if (PyErr_Occurred()) SWIG_fail
;
38999 resultobj
= result
;
39006 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39009 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39011 return Py_BuildValue((char *)"");
39013 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39014 PyObject
*resultobj
;
39015 wxSizer
*arg1
= (wxSizer
*) 0 ;
39016 PyObject
*arg2
= (PyObject
*) 0 ;
39017 PyObject
* obj0
= 0 ;
39018 PyObject
* obj1
= 0 ;
39019 char *kwnames
[] = {
39020 (char *) "self",(char *) "_self", NULL
39023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39025 if (SWIG_arg_fail(1)) SWIG_fail
;
39028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39029 wxSizer__setOORInfo(arg1
,arg2
);
39031 wxPyEndAllowThreads(__tstate
);
39032 if (PyErr_Occurred()) SWIG_fail
;
39034 Py_INCREF(Py_None
); resultobj
= Py_None
;
39041 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39042 PyObject
*resultobj
;
39043 wxSizer
*arg1
= (wxSizer
*) 0 ;
39044 PyObject
*arg2
= (PyObject
*) 0 ;
39045 int arg3
= (int) 0 ;
39046 int arg4
= (int) 0 ;
39047 int arg5
= (int) 0 ;
39048 PyObject
*arg6
= (PyObject
*) NULL
;
39049 wxSizerItem
*result
;
39050 PyObject
* obj0
= 0 ;
39051 PyObject
* obj1
= 0 ;
39052 PyObject
* obj2
= 0 ;
39053 PyObject
* obj3
= 0 ;
39054 PyObject
* obj4
= 0 ;
39055 PyObject
* obj5
= 0 ;
39056 char *kwnames
[] = {
39057 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39062 if (SWIG_arg_fail(1)) SWIG_fail
;
39066 arg3
= (int)(SWIG_As_int(obj2
));
39067 if (SWIG_arg_fail(3)) SWIG_fail
;
39072 arg4
= (int)(SWIG_As_int(obj3
));
39073 if (SWIG_arg_fail(4)) SWIG_fail
;
39078 arg5
= (int)(SWIG_As_int(obj4
));
39079 if (SWIG_arg_fail(5)) SWIG_fail
;
39086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39087 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39099 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39100 PyObject
*resultobj
;
39101 wxSizer
*arg1
= (wxSizer
*) 0 ;
39103 PyObject
*arg3
= (PyObject
*) 0 ;
39104 int arg4
= (int) 0 ;
39105 int arg5
= (int) 0 ;
39106 int arg6
= (int) 0 ;
39107 PyObject
*arg7
= (PyObject
*) NULL
;
39108 wxSizerItem
*result
;
39109 PyObject
* obj0
= 0 ;
39110 PyObject
* obj1
= 0 ;
39111 PyObject
* obj2
= 0 ;
39112 PyObject
* obj3
= 0 ;
39113 PyObject
* obj4
= 0 ;
39114 PyObject
* obj5
= 0 ;
39115 PyObject
* obj6
= 0 ;
39116 char *kwnames
[] = {
39117 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39122 if (SWIG_arg_fail(1)) SWIG_fail
;
39124 arg2
= (int)(SWIG_As_int(obj1
));
39125 if (SWIG_arg_fail(2)) SWIG_fail
;
39130 arg4
= (int)(SWIG_As_int(obj3
));
39131 if (SWIG_arg_fail(4)) SWIG_fail
;
39136 arg5
= (int)(SWIG_As_int(obj4
));
39137 if (SWIG_arg_fail(5)) SWIG_fail
;
39142 arg6
= (int)(SWIG_As_int(obj5
));
39143 if (SWIG_arg_fail(6)) SWIG_fail
;
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39153 wxPyEndAllowThreads(__tstate
);
39154 if (PyErr_Occurred()) SWIG_fail
;
39156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39163 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxSizer
*arg1
= (wxSizer
*) 0 ;
39166 PyObject
*arg2
= (PyObject
*) 0 ;
39167 int arg3
= (int) 0 ;
39168 int arg4
= (int) 0 ;
39169 int arg5
= (int) 0 ;
39170 PyObject
*arg6
= (PyObject
*) NULL
;
39171 wxSizerItem
*result
;
39172 PyObject
* obj0
= 0 ;
39173 PyObject
* obj1
= 0 ;
39174 PyObject
* obj2
= 0 ;
39175 PyObject
* obj3
= 0 ;
39176 PyObject
* obj4
= 0 ;
39177 PyObject
* obj5
= 0 ;
39178 char *kwnames
[] = {
39179 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39184 if (SWIG_arg_fail(1)) SWIG_fail
;
39188 arg3
= (int)(SWIG_As_int(obj2
));
39189 if (SWIG_arg_fail(3)) SWIG_fail
;
39194 arg4
= (int)(SWIG_As_int(obj3
));
39195 if (SWIG_arg_fail(4)) SWIG_fail
;
39200 arg5
= (int)(SWIG_As_int(obj4
));
39201 if (SWIG_arg_fail(5)) SWIG_fail
;
39208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39209 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39211 wxPyEndAllowThreads(__tstate
);
39212 if (PyErr_Occurred()) SWIG_fail
;
39214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39221 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39222 PyObject
*resultobj
;
39223 wxSizer
*arg1
= (wxSizer
*) 0 ;
39224 PyObject
*arg2
= (PyObject
*) 0 ;
39226 PyObject
* obj0
= 0 ;
39227 PyObject
* obj1
= 0 ;
39228 char *kwnames
[] = {
39229 (char *) "self",(char *) "item", NULL
39232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39234 if (SWIG_arg_fail(1)) SWIG_fail
;
39237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39238 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39240 wxPyEndAllowThreads(__tstate
);
39241 if (PyErr_Occurred()) SWIG_fail
;
39244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39252 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39253 PyObject
*resultobj
;
39254 wxSizer
*arg1
= (wxSizer
*) 0 ;
39255 PyObject
*arg2
= (PyObject
*) 0 ;
39257 PyObject
* obj0
= 0 ;
39258 PyObject
* obj1
= 0 ;
39259 char *kwnames
[] = {
39260 (char *) "self",(char *) "item", NULL
39263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39265 if (SWIG_arg_fail(1)) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39283 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39284 PyObject
*resultobj
;
39285 wxSizer
*arg1
= (wxSizer
*) 0 ;
39286 PyObject
*arg2
= (PyObject
*) 0 ;
39287 wxSizerItem
*result
;
39288 PyObject
* obj0
= 0 ;
39289 PyObject
* obj1
= 0 ;
39290 char *kwnames
[] = {
39291 (char *) "self",(char *) "item", NULL
39294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39296 if (SWIG_arg_fail(1)) SWIG_fail
;
39299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39300 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39302 wxPyEndAllowThreads(__tstate
);
39303 if (PyErr_Occurred()) SWIG_fail
;
39305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39312 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39313 PyObject
*resultobj
;
39314 wxSizer
*arg1
= (wxSizer
*) 0 ;
39315 PyObject
*arg2
= (PyObject
*) 0 ;
39318 PyObject
* obj0
= 0 ;
39319 PyObject
* obj1
= 0 ;
39320 PyObject
* obj2
= 0 ;
39321 char *kwnames
[] = {
39322 (char *) "self",(char *) "item",(char *) "size", NULL
39325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39327 if (SWIG_arg_fail(1)) SWIG_fail
;
39331 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39335 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39337 wxPyEndAllowThreads(__tstate
);
39338 if (PyErr_Occurred()) SWIG_fail
;
39340 Py_INCREF(Py_None
); resultobj
= Py_None
;
39347 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39348 PyObject
*resultobj
;
39349 wxSizer
*arg1
= (wxSizer
*) 0 ;
39350 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39351 wxSizerItem
*result
;
39352 PyObject
* obj0
= 0 ;
39353 PyObject
* obj1
= 0 ;
39354 char *kwnames
[] = {
39355 (char *) "self",(char *) "item", NULL
39358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39360 if (SWIG_arg_fail(1)) SWIG_fail
;
39361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39362 if (SWIG_arg_fail(2)) SWIG_fail
;
39364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39365 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39377 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39378 PyObject
*resultobj
;
39379 wxSizer
*arg1
= (wxSizer
*) 0 ;
39381 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39382 wxSizerItem
*result
;
39383 PyObject
* obj0
= 0 ;
39384 PyObject
* obj1
= 0 ;
39385 PyObject
* obj2
= 0 ;
39386 char *kwnames
[] = {
39387 (char *) "self",(char *) "index",(char *) "item", NULL
39390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39392 if (SWIG_arg_fail(1)) SWIG_fail
;
39394 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39395 if (SWIG_arg_fail(2)) SWIG_fail
;
39397 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39398 if (SWIG_arg_fail(3)) SWIG_fail
;
39400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39401 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39403 wxPyEndAllowThreads(__tstate
);
39404 if (PyErr_Occurred()) SWIG_fail
;
39406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39413 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39414 PyObject
*resultobj
;
39415 wxSizer
*arg1
= (wxSizer
*) 0 ;
39416 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39417 wxSizerItem
*result
;
39418 PyObject
* obj0
= 0 ;
39419 PyObject
* obj1
= 0 ;
39420 char *kwnames
[] = {
39421 (char *) "self",(char *) "item", NULL
39424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39426 if (SWIG_arg_fail(1)) SWIG_fail
;
39427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39428 if (SWIG_arg_fail(2)) SWIG_fail
;
39430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39431 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39433 wxPyEndAllowThreads(__tstate
);
39434 if (PyErr_Occurred()) SWIG_fail
;
39436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39443 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39444 PyObject
*resultobj
;
39445 wxSizer
*arg1
= (wxSizer
*) 0 ;
39450 PyObject
* obj0
= 0 ;
39451 PyObject
* obj1
= 0 ;
39452 PyObject
* obj2
= 0 ;
39453 PyObject
* obj3
= 0 ;
39454 PyObject
* obj4
= 0 ;
39455 char *kwnames
[] = {
39456 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39461 if (SWIG_arg_fail(1)) SWIG_fail
;
39463 arg2
= (int)(SWIG_As_int(obj1
));
39464 if (SWIG_arg_fail(2)) SWIG_fail
;
39467 arg3
= (int)(SWIG_As_int(obj2
));
39468 if (SWIG_arg_fail(3)) SWIG_fail
;
39471 arg4
= (int)(SWIG_As_int(obj3
));
39472 if (SWIG_arg_fail(4)) SWIG_fail
;
39475 arg5
= (int)(SWIG_As_int(obj4
));
39476 if (SWIG_arg_fail(5)) SWIG_fail
;
39479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39480 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39482 wxPyEndAllowThreads(__tstate
);
39483 if (PyErr_Occurred()) SWIG_fail
;
39485 Py_INCREF(Py_None
); resultobj
= Py_None
;
39492 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39493 PyObject
*resultobj
;
39494 wxSizer
*arg1
= (wxSizer
*) 0 ;
39497 PyObject
* obj0
= 0 ;
39498 PyObject
* obj1
= 0 ;
39499 char *kwnames
[] = {
39500 (char *) "self",(char *) "size", NULL
39503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39505 if (SWIG_arg_fail(1)) SWIG_fail
;
39508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39514 wxPyEndAllowThreads(__tstate
);
39515 if (PyErr_Occurred()) SWIG_fail
;
39517 Py_INCREF(Py_None
); resultobj
= Py_None
;
39524 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39525 PyObject
*resultobj
;
39526 wxSizer
*arg1
= (wxSizer
*) 0 ;
39528 PyObject
* obj0
= 0 ;
39529 char *kwnames
[] = {
39530 (char *) "self", NULL
39533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39535 if (SWIG_arg_fail(1)) SWIG_fail
;
39537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39538 result
= (arg1
)->GetSize();
39540 wxPyEndAllowThreads(__tstate
);
39541 if (PyErr_Occurred()) SWIG_fail
;
39544 wxSize
* resultptr
;
39545 resultptr
= new wxSize((wxSize
&)(result
));
39546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39554 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39555 PyObject
*resultobj
;
39556 wxSizer
*arg1
= (wxSizer
*) 0 ;
39558 PyObject
* obj0
= 0 ;
39559 char *kwnames
[] = {
39560 (char *) "self", NULL
39563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39565 if (SWIG_arg_fail(1)) SWIG_fail
;
39567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39568 result
= (arg1
)->GetPosition();
39570 wxPyEndAllowThreads(__tstate
);
39571 if (PyErr_Occurred()) SWIG_fail
;
39574 wxPoint
* resultptr
;
39575 resultptr
= new wxPoint((wxPoint
&)(result
));
39576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39584 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39585 PyObject
*resultobj
;
39586 wxSizer
*arg1
= (wxSizer
*) 0 ;
39588 PyObject
* obj0
= 0 ;
39589 char *kwnames
[] = {
39590 (char *) "self", NULL
39593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39595 if (SWIG_arg_fail(1)) SWIG_fail
;
39597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39598 result
= (arg1
)->GetMinSize();
39600 wxPyEndAllowThreads(__tstate
);
39601 if (PyErr_Occurred()) SWIG_fail
;
39604 wxSize
* resultptr
;
39605 resultptr
= new wxSize((wxSize
&)(result
));
39606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39614 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39615 PyObject
*resultobj
;
39616 wxSizer
*arg1
= (wxSizer
*) 0 ;
39617 PyObject
* obj0
= 0 ;
39618 char *kwnames
[] = {
39619 (char *) "self", NULL
39622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39624 if (SWIG_arg_fail(1)) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 (arg1
)->RecalcSizes();
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39632 Py_INCREF(Py_None
); resultobj
= Py_None
;
39639 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39640 PyObject
*resultobj
;
39641 wxSizer
*arg1
= (wxSizer
*) 0 ;
39643 PyObject
* obj0
= 0 ;
39644 char *kwnames
[] = {
39645 (char *) "self", NULL
39648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39650 if (SWIG_arg_fail(1)) SWIG_fail
;
39652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39653 result
= (arg1
)->CalcMin();
39655 wxPyEndAllowThreads(__tstate
);
39656 if (PyErr_Occurred()) SWIG_fail
;
39659 wxSize
* resultptr
;
39660 resultptr
= new wxSize((wxSize
&)(result
));
39661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39669 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39670 PyObject
*resultobj
;
39671 wxSizer
*arg1
= (wxSizer
*) 0 ;
39672 PyObject
* obj0
= 0 ;
39673 char *kwnames
[] = {
39674 (char *) "self", NULL
39677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39679 if (SWIG_arg_fail(1)) SWIG_fail
;
39681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39684 wxPyEndAllowThreads(__tstate
);
39685 if (PyErr_Occurred()) SWIG_fail
;
39687 Py_INCREF(Py_None
); resultobj
= Py_None
;
39694 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39695 PyObject
*resultobj
;
39696 wxSizer
*arg1
= (wxSizer
*) 0 ;
39697 wxWindow
*arg2
= (wxWindow
*) 0 ;
39699 PyObject
* obj0
= 0 ;
39700 PyObject
* obj1
= 0 ;
39701 char *kwnames
[] = {
39702 (char *) "self",(char *) "window", NULL
39705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39707 if (SWIG_arg_fail(1)) SWIG_fail
;
39708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39709 if (SWIG_arg_fail(2)) SWIG_fail
;
39711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39712 result
= (arg1
)->Fit(arg2
);
39714 wxPyEndAllowThreads(__tstate
);
39715 if (PyErr_Occurred()) SWIG_fail
;
39718 wxSize
* resultptr
;
39719 resultptr
= new wxSize((wxSize
&)(result
));
39720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39728 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39729 PyObject
*resultobj
;
39730 wxSizer
*arg1
= (wxSizer
*) 0 ;
39731 wxWindow
*arg2
= (wxWindow
*) 0 ;
39732 PyObject
* obj0
= 0 ;
39733 PyObject
* obj1
= 0 ;
39734 char *kwnames
[] = {
39735 (char *) "self",(char *) "window", NULL
39738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39740 if (SWIG_arg_fail(1)) SWIG_fail
;
39741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39742 if (SWIG_arg_fail(2)) SWIG_fail
;
39744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39745 (arg1
)->FitInside(arg2
);
39747 wxPyEndAllowThreads(__tstate
);
39748 if (PyErr_Occurred()) SWIG_fail
;
39750 Py_INCREF(Py_None
); resultobj
= Py_None
;
39757 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39758 PyObject
*resultobj
;
39759 wxSizer
*arg1
= (wxSizer
*) 0 ;
39760 wxWindow
*arg2
= (wxWindow
*) 0 ;
39761 PyObject
* obj0
= 0 ;
39762 PyObject
* obj1
= 0 ;
39763 char *kwnames
[] = {
39764 (char *) "self",(char *) "window", NULL
39767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39769 if (SWIG_arg_fail(1)) SWIG_fail
;
39770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39771 if (SWIG_arg_fail(2)) SWIG_fail
;
39773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39774 (arg1
)->SetSizeHints(arg2
);
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 Py_INCREF(Py_None
); resultobj
= Py_None
;
39786 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
;
39788 wxSizer
*arg1
= (wxSizer
*) 0 ;
39789 wxWindow
*arg2
= (wxWindow
*) 0 ;
39790 PyObject
* obj0
= 0 ;
39791 PyObject
* obj1
= 0 ;
39792 char *kwnames
[] = {
39793 (char *) "self",(char *) "window", NULL
39796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39798 if (SWIG_arg_fail(1)) SWIG_fail
;
39799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39800 if (SWIG_arg_fail(2)) SWIG_fail
;
39802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 (arg1
)->SetVirtualSizeHints(arg2
);
39805 wxPyEndAllowThreads(__tstate
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39808 Py_INCREF(Py_None
); resultobj
= Py_None
;
39815 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39816 PyObject
*resultobj
;
39817 wxSizer
*arg1
= (wxSizer
*) 0 ;
39818 bool arg2
= (bool) false ;
39819 PyObject
* obj0
= 0 ;
39820 PyObject
* obj1
= 0 ;
39821 char *kwnames
[] = {
39822 (char *) "self",(char *) "deleteWindows", NULL
39825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39827 if (SWIG_arg_fail(1)) SWIG_fail
;
39830 arg2
= (bool)(SWIG_As_bool(obj1
));
39831 if (SWIG_arg_fail(2)) SWIG_fail
;
39835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39836 (arg1
)->Clear(arg2
);
39838 wxPyEndAllowThreads(__tstate
);
39839 if (PyErr_Occurred()) SWIG_fail
;
39841 Py_INCREF(Py_None
); resultobj
= Py_None
;
39848 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39849 PyObject
*resultobj
;
39850 wxSizer
*arg1
= (wxSizer
*) 0 ;
39851 PyObject
* obj0
= 0 ;
39852 char *kwnames
[] = {
39853 (char *) "self", NULL
39856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39858 if (SWIG_arg_fail(1)) SWIG_fail
;
39860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39861 (arg1
)->DeleteWindows();
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39866 Py_INCREF(Py_None
); resultobj
= Py_None
;
39873 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39874 PyObject
*resultobj
;
39875 wxSizer
*arg1
= (wxSizer
*) 0 ;
39877 PyObject
* obj0
= 0 ;
39878 char *kwnames
[] = {
39879 (char *) "self", NULL
39882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39884 if (SWIG_arg_fail(1)) SWIG_fail
;
39886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39887 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39889 wxPyEndAllowThreads(__tstate
);
39890 if (PyErr_Occurred()) SWIG_fail
;
39892 resultobj
= result
;
39899 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39900 PyObject
*resultobj
;
39901 wxSizer
*arg1
= (wxSizer
*) 0 ;
39902 PyObject
*arg2
= (PyObject
*) 0 ;
39903 bool arg3
= (bool) true ;
39904 bool arg4
= (bool) false ;
39906 PyObject
* obj0
= 0 ;
39907 PyObject
* obj1
= 0 ;
39908 PyObject
* obj2
= 0 ;
39909 PyObject
* obj3
= 0 ;
39910 char *kwnames
[] = {
39911 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39916 if (SWIG_arg_fail(1)) SWIG_fail
;
39920 arg3
= (bool)(SWIG_As_bool(obj2
));
39921 if (SWIG_arg_fail(3)) SWIG_fail
;
39926 arg4
= (bool)(SWIG_As_bool(obj3
));
39927 if (SWIG_arg_fail(4)) SWIG_fail
;
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39934 wxPyEndAllowThreads(__tstate
);
39935 if (PyErr_Occurred()) SWIG_fail
;
39938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39946 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxSizer
*arg1
= (wxSizer
*) 0 ;
39949 PyObject
*arg2
= (PyObject
*) 0 ;
39951 PyObject
* obj0
= 0 ;
39952 PyObject
* obj1
= 0 ;
39953 char *kwnames
[] = {
39954 (char *) "self",(char *) "item", NULL
39957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39959 if (SWIG_arg_fail(1)) SWIG_fail
;
39962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39963 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39965 wxPyEndAllowThreads(__tstate
);
39966 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39977 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39978 PyObject
*resultobj
;
39979 wxSizer
*arg1
= (wxSizer
*) 0 ;
39981 PyObject
* obj0
= 0 ;
39982 PyObject
* obj1
= 0 ;
39983 char *kwnames
[] = {
39984 (char *) "self",(char *) "show", NULL
39987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39989 if (SWIG_arg_fail(1)) SWIG_fail
;
39991 arg2
= (bool)(SWIG_As_bool(obj1
));
39992 if (SWIG_arg_fail(2)) SWIG_fail
;
39995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 (arg1
)->ShowItems(arg2
);
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40001 Py_INCREF(Py_None
); resultobj
= Py_None
;
40008 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40011 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40013 return Py_BuildValue((char *)"");
40015 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40016 PyObject
*resultobj
;
40018 char *kwnames
[] = {
40022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40025 result
= (wxPySizer
*)new wxPySizer();
40027 wxPyEndAllowThreads(__tstate
);
40028 if (PyErr_Occurred()) SWIG_fail
;
40030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40037 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40038 PyObject
*resultobj
;
40039 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40040 PyObject
*arg2
= (PyObject
*) 0 ;
40041 PyObject
*arg3
= (PyObject
*) 0 ;
40042 PyObject
* obj0
= 0 ;
40043 PyObject
* obj1
= 0 ;
40044 PyObject
* obj2
= 0 ;
40045 char *kwnames
[] = {
40046 (char *) "self",(char *) "self",(char *) "_class", NULL
40049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40051 if (SWIG_arg_fail(1)) SWIG_fail
;
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40061 Py_INCREF(Py_None
); resultobj
= Py_None
;
40068 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40071 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40073 return Py_BuildValue((char *)"");
40075 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
;
40077 int arg1
= (int) wxHORIZONTAL
;
40078 wxBoxSizer
*result
;
40079 PyObject
* obj0
= 0 ;
40080 char *kwnames
[] = {
40081 (char *) "orient", NULL
40084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40087 arg1
= (int)(SWIG_As_int(obj0
));
40088 if (SWIG_arg_fail(1)) SWIG_fail
;
40092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40093 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40095 wxPyEndAllowThreads(__tstate
);
40096 if (PyErr_Occurred()) SWIG_fail
;
40098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40105 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40106 PyObject
*resultobj
;
40107 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40109 PyObject
* obj0
= 0 ;
40110 char *kwnames
[] = {
40111 (char *) "self", NULL
40114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40116 if (SWIG_arg_fail(1)) SWIG_fail
;
40118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40119 result
= (int)(arg1
)->GetOrientation();
40121 wxPyEndAllowThreads(__tstate
);
40122 if (PyErr_Occurred()) SWIG_fail
;
40125 resultobj
= SWIG_From_int((int)(result
));
40133 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
;
40135 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40137 PyObject
* obj0
= 0 ;
40138 PyObject
* obj1
= 0 ;
40139 char *kwnames
[] = {
40140 (char *) "self",(char *) "orient", NULL
40143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40145 if (SWIG_arg_fail(1)) SWIG_fail
;
40147 arg2
= (int)(SWIG_As_int(obj1
));
40148 if (SWIG_arg_fail(2)) SWIG_fail
;
40151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40152 (arg1
)->SetOrientation(arg2
);
40154 wxPyEndAllowThreads(__tstate
);
40155 if (PyErr_Occurred()) SWIG_fail
;
40157 Py_INCREF(Py_None
); resultobj
= Py_None
;
40164 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40167 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40169 return Py_BuildValue((char *)"");
40171 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40172 PyObject
*resultobj
;
40173 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40174 int arg2
= (int) wxHORIZONTAL
;
40175 wxStaticBoxSizer
*result
;
40176 PyObject
* obj0
= 0 ;
40177 PyObject
* obj1
= 0 ;
40178 char *kwnames
[] = {
40179 (char *) "box",(char *) "orient", NULL
40182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40184 if (SWIG_arg_fail(1)) SWIG_fail
;
40187 arg2
= (int)(SWIG_As_int(obj1
));
40188 if (SWIG_arg_fail(2)) SWIG_fail
;
40192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40193 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40195 wxPyEndAllowThreads(__tstate
);
40196 if (PyErr_Occurred()) SWIG_fail
;
40198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40205 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40206 PyObject
*resultobj
;
40207 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40208 wxStaticBox
*result
;
40209 PyObject
* obj0
= 0 ;
40210 char *kwnames
[] = {
40211 (char *) "self", NULL
40214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40216 if (SWIG_arg_fail(1)) SWIG_fail
;
40218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40219 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40221 wxPyEndAllowThreads(__tstate
);
40222 if (PyErr_Occurred()) SWIG_fail
;
40225 resultobj
= wxPyMake_wxObject(result
, 0);
40233 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40236 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40238 return Py_BuildValue((char *)"");
40240 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40241 PyObject
*resultobj
;
40242 int arg1
= (int) 1 ;
40243 int arg2
= (int) 0 ;
40244 int arg3
= (int) 0 ;
40245 int arg4
= (int) 0 ;
40246 wxGridSizer
*result
;
40247 PyObject
* obj0
= 0 ;
40248 PyObject
* obj1
= 0 ;
40249 PyObject
* obj2
= 0 ;
40250 PyObject
* obj3
= 0 ;
40251 char *kwnames
[] = {
40252 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40258 arg1
= (int)(SWIG_As_int(obj0
));
40259 if (SWIG_arg_fail(1)) SWIG_fail
;
40264 arg2
= (int)(SWIG_As_int(obj1
));
40265 if (SWIG_arg_fail(2)) SWIG_fail
;
40270 arg3
= (int)(SWIG_As_int(obj2
));
40271 if (SWIG_arg_fail(3)) SWIG_fail
;
40276 arg4
= (int)(SWIG_As_int(obj3
));
40277 if (SWIG_arg_fail(4)) SWIG_fail
;
40281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40282 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40284 wxPyEndAllowThreads(__tstate
);
40285 if (PyErr_Occurred()) SWIG_fail
;
40287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40294 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40295 PyObject
*resultobj
;
40296 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40298 PyObject
* obj0
= 0 ;
40299 PyObject
* obj1
= 0 ;
40300 char *kwnames
[] = {
40301 (char *) "self",(char *) "cols", NULL
40304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40306 if (SWIG_arg_fail(1)) SWIG_fail
;
40308 arg2
= (int)(SWIG_As_int(obj1
));
40309 if (SWIG_arg_fail(2)) SWIG_fail
;
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 (arg1
)->SetCols(arg2
);
40315 wxPyEndAllowThreads(__tstate
);
40316 if (PyErr_Occurred()) SWIG_fail
;
40318 Py_INCREF(Py_None
); resultobj
= Py_None
;
40325 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40326 PyObject
*resultobj
;
40327 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40329 PyObject
* obj0
= 0 ;
40330 PyObject
* obj1
= 0 ;
40331 char *kwnames
[] = {
40332 (char *) "self",(char *) "rows", NULL
40335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40337 if (SWIG_arg_fail(1)) SWIG_fail
;
40339 arg2
= (int)(SWIG_As_int(obj1
));
40340 if (SWIG_arg_fail(2)) SWIG_fail
;
40343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40344 (arg1
)->SetRows(arg2
);
40346 wxPyEndAllowThreads(__tstate
);
40347 if (PyErr_Occurred()) SWIG_fail
;
40349 Py_INCREF(Py_None
); resultobj
= Py_None
;
40356 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40357 PyObject
*resultobj
;
40358 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40360 PyObject
* obj0
= 0 ;
40361 PyObject
* obj1
= 0 ;
40362 char *kwnames
[] = {
40363 (char *) "self",(char *) "gap", NULL
40366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40368 if (SWIG_arg_fail(1)) SWIG_fail
;
40370 arg2
= (int)(SWIG_As_int(obj1
));
40371 if (SWIG_arg_fail(2)) SWIG_fail
;
40374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40375 (arg1
)->SetVGap(arg2
);
40377 wxPyEndAllowThreads(__tstate
);
40378 if (PyErr_Occurred()) SWIG_fail
;
40380 Py_INCREF(Py_None
); resultobj
= Py_None
;
40387 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40388 PyObject
*resultobj
;
40389 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40391 PyObject
* obj0
= 0 ;
40392 PyObject
* obj1
= 0 ;
40393 char *kwnames
[] = {
40394 (char *) "self",(char *) "gap", NULL
40397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40399 if (SWIG_arg_fail(1)) SWIG_fail
;
40401 arg2
= (int)(SWIG_As_int(obj1
));
40402 if (SWIG_arg_fail(2)) SWIG_fail
;
40405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40406 (arg1
)->SetHGap(arg2
);
40408 wxPyEndAllowThreads(__tstate
);
40409 if (PyErr_Occurred()) SWIG_fail
;
40411 Py_INCREF(Py_None
); resultobj
= Py_None
;
40418 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40419 PyObject
*resultobj
;
40420 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40422 PyObject
* obj0
= 0 ;
40423 char *kwnames
[] = {
40424 (char *) "self", NULL
40427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40429 if (SWIG_arg_fail(1)) SWIG_fail
;
40431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40432 result
= (int)(arg1
)->GetCols();
40434 wxPyEndAllowThreads(__tstate
);
40435 if (PyErr_Occurred()) SWIG_fail
;
40438 resultobj
= SWIG_From_int((int)(result
));
40446 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40447 PyObject
*resultobj
;
40448 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40450 PyObject
* obj0
= 0 ;
40451 char *kwnames
[] = {
40452 (char *) "self", NULL
40455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40457 if (SWIG_arg_fail(1)) SWIG_fail
;
40459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40460 result
= (int)(arg1
)->GetRows();
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40466 resultobj
= SWIG_From_int((int)(result
));
40474 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40475 PyObject
*resultobj
;
40476 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40478 PyObject
* obj0
= 0 ;
40479 char *kwnames
[] = {
40480 (char *) "self", NULL
40483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40485 if (SWIG_arg_fail(1)) SWIG_fail
;
40487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40488 result
= (int)(arg1
)->GetVGap();
40490 wxPyEndAllowThreads(__tstate
);
40491 if (PyErr_Occurred()) SWIG_fail
;
40494 resultobj
= SWIG_From_int((int)(result
));
40502 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40503 PyObject
*resultobj
;
40504 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40506 PyObject
* obj0
= 0 ;
40507 char *kwnames
[] = {
40508 (char *) "self", NULL
40511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40513 if (SWIG_arg_fail(1)) SWIG_fail
;
40515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40516 result
= (int)(arg1
)->GetHGap();
40518 wxPyEndAllowThreads(__tstate
);
40519 if (PyErr_Occurred()) SWIG_fail
;
40522 resultobj
= SWIG_From_int((int)(result
));
40530 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40533 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40535 return Py_BuildValue((char *)"");
40537 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40538 PyObject
*resultobj
;
40539 int arg1
= (int) 1 ;
40540 int arg2
= (int) 0 ;
40541 int arg3
= (int) 0 ;
40542 int arg4
= (int) 0 ;
40543 wxFlexGridSizer
*result
;
40544 PyObject
* obj0
= 0 ;
40545 PyObject
* obj1
= 0 ;
40546 PyObject
* obj2
= 0 ;
40547 PyObject
* obj3
= 0 ;
40548 char *kwnames
[] = {
40549 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40555 arg1
= (int)(SWIG_As_int(obj0
));
40556 if (SWIG_arg_fail(1)) SWIG_fail
;
40561 arg2
= (int)(SWIG_As_int(obj1
));
40562 if (SWIG_arg_fail(2)) SWIG_fail
;
40567 arg3
= (int)(SWIG_As_int(obj2
));
40568 if (SWIG_arg_fail(3)) SWIG_fail
;
40573 arg4
= (int)(SWIG_As_int(obj3
));
40574 if (SWIG_arg_fail(4)) SWIG_fail
;
40578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40579 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40581 wxPyEndAllowThreads(__tstate
);
40582 if (PyErr_Occurred()) SWIG_fail
;
40584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40591 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40592 PyObject
*resultobj
;
40593 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40595 int arg3
= (int) 0 ;
40596 PyObject
* obj0
= 0 ;
40597 PyObject
* obj1
= 0 ;
40598 PyObject
* obj2
= 0 ;
40599 char *kwnames
[] = {
40600 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40605 if (SWIG_arg_fail(1)) SWIG_fail
;
40607 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40608 if (SWIG_arg_fail(2)) SWIG_fail
;
40612 arg3
= (int)(SWIG_As_int(obj2
));
40613 if (SWIG_arg_fail(3)) SWIG_fail
;
40617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40618 (arg1
)->AddGrowableRow(arg2
,arg3
);
40620 wxPyEndAllowThreads(__tstate
);
40621 if (PyErr_Occurred()) SWIG_fail
;
40623 Py_INCREF(Py_None
); resultobj
= Py_None
;
40630 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40631 PyObject
*resultobj
;
40632 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40634 PyObject
* obj0
= 0 ;
40635 PyObject
* obj1
= 0 ;
40636 char *kwnames
[] = {
40637 (char *) "self",(char *) "idx", NULL
40640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40642 if (SWIG_arg_fail(1)) SWIG_fail
;
40644 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40645 if (SWIG_arg_fail(2)) SWIG_fail
;
40648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40649 (arg1
)->RemoveGrowableRow(arg2
);
40651 wxPyEndAllowThreads(__tstate
);
40652 if (PyErr_Occurred()) SWIG_fail
;
40654 Py_INCREF(Py_None
); resultobj
= Py_None
;
40661 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40662 PyObject
*resultobj
;
40663 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40665 int arg3
= (int) 0 ;
40666 PyObject
* obj0
= 0 ;
40667 PyObject
* obj1
= 0 ;
40668 PyObject
* obj2
= 0 ;
40669 char *kwnames
[] = {
40670 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40675 if (SWIG_arg_fail(1)) SWIG_fail
;
40677 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40678 if (SWIG_arg_fail(2)) SWIG_fail
;
40682 arg3
= (int)(SWIG_As_int(obj2
));
40683 if (SWIG_arg_fail(3)) SWIG_fail
;
40687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40688 (arg1
)->AddGrowableCol(arg2
,arg3
);
40690 wxPyEndAllowThreads(__tstate
);
40691 if (PyErr_Occurred()) SWIG_fail
;
40693 Py_INCREF(Py_None
); resultobj
= Py_None
;
40700 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40701 PyObject
*resultobj
;
40702 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40704 PyObject
* obj0
= 0 ;
40705 PyObject
* obj1
= 0 ;
40706 char *kwnames
[] = {
40707 (char *) "self",(char *) "idx", NULL
40710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40712 if (SWIG_arg_fail(1)) SWIG_fail
;
40714 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40715 if (SWIG_arg_fail(2)) SWIG_fail
;
40718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40719 (arg1
)->RemoveGrowableCol(arg2
);
40721 wxPyEndAllowThreads(__tstate
);
40722 if (PyErr_Occurred()) SWIG_fail
;
40724 Py_INCREF(Py_None
); resultobj
= Py_None
;
40731 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40732 PyObject
*resultobj
;
40733 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40735 PyObject
* obj0
= 0 ;
40736 PyObject
* obj1
= 0 ;
40737 char *kwnames
[] = {
40738 (char *) "self",(char *) "direction", NULL
40741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40743 if (SWIG_arg_fail(1)) SWIG_fail
;
40745 arg2
= (int)(SWIG_As_int(obj1
));
40746 if (SWIG_arg_fail(2)) SWIG_fail
;
40749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40750 (arg1
)->SetFlexibleDirection(arg2
);
40752 wxPyEndAllowThreads(__tstate
);
40753 if (PyErr_Occurred()) SWIG_fail
;
40755 Py_INCREF(Py_None
); resultobj
= Py_None
;
40762 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40763 PyObject
*resultobj
;
40764 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40766 PyObject
* obj0
= 0 ;
40767 char *kwnames
[] = {
40768 (char *) "self", NULL
40771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40773 if (SWIG_arg_fail(1)) SWIG_fail
;
40775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40776 result
= (int)(arg1
)->GetFlexibleDirection();
40778 wxPyEndAllowThreads(__tstate
);
40779 if (PyErr_Occurred()) SWIG_fail
;
40782 resultobj
= SWIG_From_int((int)(result
));
40790 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40791 PyObject
*resultobj
;
40792 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40793 wxFlexSizerGrowMode arg2
;
40794 PyObject
* obj0
= 0 ;
40795 PyObject
* obj1
= 0 ;
40796 char *kwnames
[] = {
40797 (char *) "self",(char *) "mode", NULL
40800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40802 if (SWIG_arg_fail(1)) SWIG_fail
;
40804 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40805 if (SWIG_arg_fail(2)) SWIG_fail
;
40808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40809 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40811 wxPyEndAllowThreads(__tstate
);
40812 if (PyErr_Occurred()) SWIG_fail
;
40814 Py_INCREF(Py_None
); resultobj
= Py_None
;
40821 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40822 PyObject
*resultobj
;
40823 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40824 wxFlexSizerGrowMode result
;
40825 PyObject
* obj0
= 0 ;
40826 char *kwnames
[] = {
40827 (char *) "self", NULL
40830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40832 if (SWIG_arg_fail(1)) SWIG_fail
;
40834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40835 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40837 wxPyEndAllowThreads(__tstate
);
40838 if (PyErr_Occurred()) SWIG_fail
;
40840 resultobj
= SWIG_From_int((result
));
40847 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40848 PyObject
*resultobj
;
40849 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40850 wxArrayInt
*result
;
40851 PyObject
* obj0
= 0 ;
40852 char *kwnames
[] = {
40853 (char *) "self", NULL
40856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40858 if (SWIG_arg_fail(1)) SWIG_fail
;
40860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40862 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40863 result
= (wxArrayInt
*) &_result_ref
;
40866 wxPyEndAllowThreads(__tstate
);
40867 if (PyErr_Occurred()) SWIG_fail
;
40870 resultobj
= PyList_New(0);
40872 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40873 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40874 PyList_Append(resultobj
, val
);
40884 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40885 PyObject
*resultobj
;
40886 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40887 wxArrayInt
*result
;
40888 PyObject
* obj0
= 0 ;
40889 char *kwnames
[] = {
40890 (char *) "self", NULL
40893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40895 if (SWIG_arg_fail(1)) SWIG_fail
;
40897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40899 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40900 result
= (wxArrayInt
*) &_result_ref
;
40903 wxPyEndAllowThreads(__tstate
);
40904 if (PyErr_Occurred()) SWIG_fail
;
40907 resultobj
= PyList_New(0);
40909 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40910 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40911 PyList_Append(resultobj
, val
);
40921 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40924 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40926 return Py_BuildValue((char *)"");
40928 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40929 PyObject
*resultobj
;
40930 wxStdDialogButtonSizer
*result
;
40931 char *kwnames
[] = {
40935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40938 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40940 wxPyEndAllowThreads(__tstate
);
40941 if (PyErr_Occurred()) SWIG_fail
;
40943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40950 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40951 PyObject
*resultobj
;
40952 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40953 wxButton
*arg2
= (wxButton
*) 0 ;
40954 PyObject
* obj0
= 0 ;
40955 PyObject
* obj1
= 0 ;
40956 char *kwnames
[] = {
40957 (char *) "self",(char *) "button", NULL
40960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40962 if (SWIG_arg_fail(1)) SWIG_fail
;
40963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40964 if (SWIG_arg_fail(2)) SWIG_fail
;
40966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40967 (arg1
)->AddButton(arg2
);
40969 wxPyEndAllowThreads(__tstate
);
40970 if (PyErr_Occurred()) SWIG_fail
;
40972 Py_INCREF(Py_None
); resultobj
= Py_None
;
40979 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40980 PyObject
*resultobj
;
40981 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40982 PyObject
* obj0
= 0 ;
40983 char *kwnames
[] = {
40984 (char *) "self", NULL
40987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
40988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40989 if (SWIG_arg_fail(1)) SWIG_fail
;
40991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40994 wxPyEndAllowThreads(__tstate
);
40995 if (PyErr_Occurred()) SWIG_fail
;
40997 Py_INCREF(Py_None
); resultobj
= Py_None
;
41004 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41005 PyObject
*resultobj
;
41006 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41007 wxButton
*arg2
= (wxButton
*) 0 ;
41008 PyObject
* obj0
= 0 ;
41009 PyObject
* obj1
= 0 ;
41010 char *kwnames
[] = {
41011 (char *) "self",(char *) "button", NULL
41014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41016 if (SWIG_arg_fail(1)) SWIG_fail
;
41017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41018 if (SWIG_arg_fail(2)) SWIG_fail
;
41020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41021 (arg1
)->SetAffirmativeButton(arg2
);
41023 wxPyEndAllowThreads(__tstate
);
41024 if (PyErr_Occurred()) SWIG_fail
;
41026 Py_INCREF(Py_None
); resultobj
= Py_None
;
41033 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41034 PyObject
*resultobj
;
41035 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41036 wxButton
*arg2
= (wxButton
*) 0 ;
41037 PyObject
* obj0
= 0 ;
41038 PyObject
* obj1
= 0 ;
41039 char *kwnames
[] = {
41040 (char *) "self",(char *) "button", NULL
41043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41045 if (SWIG_arg_fail(1)) SWIG_fail
;
41046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41047 if (SWIG_arg_fail(2)) SWIG_fail
;
41049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41050 (arg1
)->SetNegativeButton(arg2
);
41052 wxPyEndAllowThreads(__tstate
);
41053 if (PyErr_Occurred()) SWIG_fail
;
41055 Py_INCREF(Py_None
); resultobj
= Py_None
;
41062 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41063 PyObject
*resultobj
;
41064 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41065 wxButton
*arg2
= (wxButton
*) 0 ;
41066 PyObject
* obj0
= 0 ;
41067 PyObject
* obj1
= 0 ;
41068 char *kwnames
[] = {
41069 (char *) "self",(char *) "button", NULL
41072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41074 if (SWIG_arg_fail(1)) SWIG_fail
;
41075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41076 if (SWIG_arg_fail(2)) SWIG_fail
;
41078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41079 (arg1
)->SetCancelButton(arg2
);
41081 wxPyEndAllowThreads(__tstate
);
41082 if (PyErr_Occurred()) SWIG_fail
;
41084 Py_INCREF(Py_None
); resultobj
= Py_None
;
41091 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41092 PyObject
*resultobj
;
41093 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41095 PyObject
* obj0
= 0 ;
41096 char *kwnames
[] = {
41097 (char *) "self", NULL
41100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41102 if (SWIG_arg_fail(1)) SWIG_fail
;
41104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41105 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41107 wxPyEndAllowThreads(__tstate
);
41108 if (PyErr_Occurred()) SWIG_fail
;
41111 resultobj
= wxPyMake_wxObject(result
, 0);
41119 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41120 PyObject
*resultobj
;
41121 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41123 PyObject
* obj0
= 0 ;
41124 char *kwnames
[] = {
41125 (char *) "self", NULL
41128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41130 if (SWIG_arg_fail(1)) SWIG_fail
;
41132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41133 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41135 wxPyEndAllowThreads(__tstate
);
41136 if (PyErr_Occurred()) SWIG_fail
;
41139 resultobj
= wxPyMake_wxObject(result
, 0);
41147 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41148 PyObject
*resultobj
;
41149 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41151 PyObject
* obj0
= 0 ;
41152 char *kwnames
[] = {
41153 (char *) "self", NULL
41156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41158 if (SWIG_arg_fail(1)) SWIG_fail
;
41160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41161 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41163 wxPyEndAllowThreads(__tstate
);
41164 if (PyErr_Occurred()) SWIG_fail
;
41167 resultobj
= wxPyMake_wxObject(result
, 0);
41175 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41176 PyObject
*resultobj
;
41177 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41179 PyObject
* obj0
= 0 ;
41180 char *kwnames
[] = {
41181 (char *) "self", NULL
41184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41186 if (SWIG_arg_fail(1)) SWIG_fail
;
41188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41189 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41191 wxPyEndAllowThreads(__tstate
);
41192 if (PyErr_Occurred()) SWIG_fail
;
41195 resultobj
= wxPyMake_wxObject(result
, 0);
41203 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41204 PyObject
*resultobj
;
41205 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41207 PyObject
* obj0
= 0 ;
41208 char *kwnames
[] = {
41209 (char *) "self", NULL
41212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41214 if (SWIG_arg_fail(1)) SWIG_fail
;
41216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41217 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41219 wxPyEndAllowThreads(__tstate
);
41220 if (PyErr_Occurred()) SWIG_fail
;
41223 resultobj
= wxPyMake_wxObject(result
, 0);
41231 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41234 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41236 return Py_BuildValue((char *)"");
41238 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41239 PyObject
*resultobj
;
41240 int arg1
= (int) 0 ;
41241 int arg2
= (int) 0 ;
41242 wxGBPosition
*result
;
41243 PyObject
* obj0
= 0 ;
41244 PyObject
* obj1
= 0 ;
41245 char *kwnames
[] = {
41246 (char *) "row",(char *) "col", NULL
41249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41252 arg1
= (int)(SWIG_As_int(obj0
));
41253 if (SWIG_arg_fail(1)) SWIG_fail
;
41258 arg2
= (int)(SWIG_As_int(obj1
));
41259 if (SWIG_arg_fail(2)) SWIG_fail
;
41263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41264 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41266 wxPyEndAllowThreads(__tstate
);
41267 if (PyErr_Occurred()) SWIG_fail
;
41269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41276 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41277 PyObject
*resultobj
;
41278 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41280 PyObject
* obj0
= 0 ;
41281 char *kwnames
[] = {
41282 (char *) "self", NULL
41285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41287 if (SWIG_arg_fail(1)) SWIG_fail
;
41289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41290 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41292 wxPyEndAllowThreads(__tstate
);
41293 if (PyErr_Occurred()) SWIG_fail
;
41296 resultobj
= SWIG_From_int((int)(result
));
41304 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41305 PyObject
*resultobj
;
41306 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41308 PyObject
* obj0
= 0 ;
41309 char *kwnames
[] = {
41310 (char *) "self", NULL
41313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41315 if (SWIG_arg_fail(1)) SWIG_fail
;
41317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41318 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41320 wxPyEndAllowThreads(__tstate
);
41321 if (PyErr_Occurred()) SWIG_fail
;
41324 resultobj
= SWIG_From_int((int)(result
));
41332 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41333 PyObject
*resultobj
;
41334 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41336 PyObject
* obj0
= 0 ;
41337 PyObject
* obj1
= 0 ;
41338 char *kwnames
[] = {
41339 (char *) "self",(char *) "row", NULL
41342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41344 if (SWIG_arg_fail(1)) SWIG_fail
;
41346 arg2
= (int)(SWIG_As_int(obj1
));
41347 if (SWIG_arg_fail(2)) SWIG_fail
;
41350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41351 (arg1
)->SetRow(arg2
);
41353 wxPyEndAllowThreads(__tstate
);
41354 if (PyErr_Occurred()) SWIG_fail
;
41356 Py_INCREF(Py_None
); resultobj
= Py_None
;
41363 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41364 PyObject
*resultobj
;
41365 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41367 PyObject
* obj0
= 0 ;
41368 PyObject
* obj1
= 0 ;
41369 char *kwnames
[] = {
41370 (char *) "self",(char *) "col", NULL
41373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41375 if (SWIG_arg_fail(1)) SWIG_fail
;
41377 arg2
= (int)(SWIG_As_int(obj1
));
41378 if (SWIG_arg_fail(2)) SWIG_fail
;
41381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41382 (arg1
)->SetCol(arg2
);
41384 wxPyEndAllowThreads(__tstate
);
41385 if (PyErr_Occurred()) SWIG_fail
;
41387 Py_INCREF(Py_None
); resultobj
= Py_None
;
41394 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41395 PyObject
*resultobj
;
41396 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41397 wxGBPosition
*arg2
= 0 ;
41399 wxGBPosition temp2
;
41400 PyObject
* obj0
= 0 ;
41401 PyObject
* obj1
= 0 ;
41402 char *kwnames
[] = {
41403 (char *) "self",(char *) "other", NULL
41406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41408 if (SWIG_arg_fail(1)) SWIG_fail
;
41411 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41415 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41417 wxPyEndAllowThreads(__tstate
);
41418 if (PyErr_Occurred()) SWIG_fail
;
41421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41429 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41430 PyObject
*resultobj
;
41431 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41432 wxGBPosition
*arg2
= 0 ;
41434 wxGBPosition temp2
;
41435 PyObject
* obj0
= 0 ;
41436 PyObject
* obj1
= 0 ;
41437 char *kwnames
[] = {
41438 (char *) "self",(char *) "other", NULL
41441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41443 if (SWIG_arg_fail(1)) SWIG_fail
;
41446 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41450 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41452 wxPyEndAllowThreads(__tstate
);
41453 if (PyErr_Occurred()) SWIG_fail
;
41456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41464 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41465 PyObject
*resultobj
;
41466 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41467 int arg2
= (int) 0 ;
41468 int arg3
= (int) 0 ;
41469 PyObject
* obj0
= 0 ;
41470 PyObject
* obj1
= 0 ;
41471 PyObject
* obj2
= 0 ;
41472 char *kwnames
[] = {
41473 (char *) "self",(char *) "row",(char *) "col", NULL
41476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41478 if (SWIG_arg_fail(1)) SWIG_fail
;
41481 arg2
= (int)(SWIG_As_int(obj1
));
41482 if (SWIG_arg_fail(2)) SWIG_fail
;
41487 arg3
= (int)(SWIG_As_int(obj2
));
41488 if (SWIG_arg_fail(3)) SWIG_fail
;
41492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41493 wxGBPosition_Set(arg1
,arg2
,arg3
);
41495 wxPyEndAllowThreads(__tstate
);
41496 if (PyErr_Occurred()) SWIG_fail
;
41498 Py_INCREF(Py_None
); resultobj
= Py_None
;
41505 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41506 PyObject
*resultobj
;
41507 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41509 PyObject
* obj0
= 0 ;
41510 char *kwnames
[] = {
41511 (char *) "self", NULL
41514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41516 if (SWIG_arg_fail(1)) SWIG_fail
;
41518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41519 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41521 wxPyEndAllowThreads(__tstate
);
41522 if (PyErr_Occurred()) SWIG_fail
;
41524 resultobj
= result
;
41531 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41534 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41536 return Py_BuildValue((char *)"");
41538 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41539 PyObject
*resultobj
;
41540 int arg1
= (int) 1 ;
41541 int arg2
= (int) 1 ;
41543 PyObject
* obj0
= 0 ;
41544 PyObject
* obj1
= 0 ;
41545 char *kwnames
[] = {
41546 (char *) "rowspan",(char *) "colspan", NULL
41549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41552 arg1
= (int)(SWIG_As_int(obj0
));
41553 if (SWIG_arg_fail(1)) SWIG_fail
;
41558 arg2
= (int)(SWIG_As_int(obj1
));
41559 if (SWIG_arg_fail(2)) SWIG_fail
;
41563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41564 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41566 wxPyEndAllowThreads(__tstate
);
41567 if (PyErr_Occurred()) SWIG_fail
;
41569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41576 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41577 PyObject
*resultobj
;
41578 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41580 PyObject
* obj0
= 0 ;
41581 char *kwnames
[] = {
41582 (char *) "self", NULL
41585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41587 if (SWIG_arg_fail(1)) SWIG_fail
;
41589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41590 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41592 wxPyEndAllowThreads(__tstate
);
41593 if (PyErr_Occurred()) SWIG_fail
;
41596 resultobj
= SWIG_From_int((int)(result
));
41604 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41605 PyObject
*resultobj
;
41606 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41608 PyObject
* obj0
= 0 ;
41609 char *kwnames
[] = {
41610 (char *) "self", NULL
41613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41615 if (SWIG_arg_fail(1)) SWIG_fail
;
41617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41618 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41620 wxPyEndAllowThreads(__tstate
);
41621 if (PyErr_Occurred()) SWIG_fail
;
41624 resultobj
= SWIG_From_int((int)(result
));
41632 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41633 PyObject
*resultobj
;
41634 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41636 PyObject
* obj0
= 0 ;
41637 PyObject
* obj1
= 0 ;
41638 char *kwnames
[] = {
41639 (char *) "self",(char *) "rowspan", NULL
41642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41644 if (SWIG_arg_fail(1)) SWIG_fail
;
41646 arg2
= (int)(SWIG_As_int(obj1
));
41647 if (SWIG_arg_fail(2)) SWIG_fail
;
41650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41651 (arg1
)->SetRowspan(arg2
);
41653 wxPyEndAllowThreads(__tstate
);
41654 if (PyErr_Occurred()) SWIG_fail
;
41656 Py_INCREF(Py_None
); resultobj
= Py_None
;
41663 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41664 PyObject
*resultobj
;
41665 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41667 PyObject
* obj0
= 0 ;
41668 PyObject
* obj1
= 0 ;
41669 char *kwnames
[] = {
41670 (char *) "self",(char *) "colspan", NULL
41673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41675 if (SWIG_arg_fail(1)) SWIG_fail
;
41677 arg2
= (int)(SWIG_As_int(obj1
));
41678 if (SWIG_arg_fail(2)) SWIG_fail
;
41681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41682 (arg1
)->SetColspan(arg2
);
41684 wxPyEndAllowThreads(__tstate
);
41685 if (PyErr_Occurred()) SWIG_fail
;
41687 Py_INCREF(Py_None
); resultobj
= Py_None
;
41694 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41695 PyObject
*resultobj
;
41696 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41697 wxGBSpan
*arg2
= 0 ;
41700 PyObject
* obj0
= 0 ;
41701 PyObject
* obj1
= 0 ;
41702 char *kwnames
[] = {
41703 (char *) "self",(char *) "other", NULL
41706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41708 if (SWIG_arg_fail(1)) SWIG_fail
;
41711 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41715 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41717 wxPyEndAllowThreads(__tstate
);
41718 if (PyErr_Occurred()) SWIG_fail
;
41721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41729 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41730 PyObject
*resultobj
;
41731 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41732 wxGBSpan
*arg2
= 0 ;
41735 PyObject
* obj0
= 0 ;
41736 PyObject
* obj1
= 0 ;
41737 char *kwnames
[] = {
41738 (char *) "self",(char *) "other", NULL
41741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41743 if (SWIG_arg_fail(1)) SWIG_fail
;
41746 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41750 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41752 wxPyEndAllowThreads(__tstate
);
41753 if (PyErr_Occurred()) SWIG_fail
;
41756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41764 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41765 PyObject
*resultobj
;
41766 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41767 int arg2
= (int) 1 ;
41768 int arg3
= (int) 1 ;
41769 PyObject
* obj0
= 0 ;
41770 PyObject
* obj1
= 0 ;
41771 PyObject
* obj2
= 0 ;
41772 char *kwnames
[] = {
41773 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41778 if (SWIG_arg_fail(1)) SWIG_fail
;
41781 arg2
= (int)(SWIG_As_int(obj1
));
41782 if (SWIG_arg_fail(2)) SWIG_fail
;
41787 arg3
= (int)(SWIG_As_int(obj2
));
41788 if (SWIG_arg_fail(3)) SWIG_fail
;
41792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41793 wxGBSpan_Set(arg1
,arg2
,arg3
);
41795 wxPyEndAllowThreads(__tstate
);
41796 if (PyErr_Occurred()) SWIG_fail
;
41798 Py_INCREF(Py_None
); resultobj
= Py_None
;
41805 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41806 PyObject
*resultobj
;
41807 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41809 PyObject
* obj0
= 0 ;
41810 char *kwnames
[] = {
41811 (char *) "self", NULL
41814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41816 if (SWIG_arg_fail(1)) SWIG_fail
;
41818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41819 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41821 wxPyEndAllowThreads(__tstate
);
41822 if (PyErr_Occurred()) SWIG_fail
;
41824 resultobj
= result
;
41831 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41834 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41836 return Py_BuildValue((char *)"");
41838 static int _wrap_DefaultSpan_set(PyObject
*) {
41839 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41844 static PyObject
*_wrap_DefaultSpan_get(void) {
41847 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41852 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41853 PyObject
*resultobj
;
41854 wxGBSizerItem
*result
;
41855 char *kwnames
[] = {
41859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41862 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41864 wxPyEndAllowThreads(__tstate
);
41865 if (PyErr_Occurred()) SWIG_fail
;
41867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41874 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41875 PyObject
*resultobj
;
41876 wxWindow
*arg1
= (wxWindow
*) 0 ;
41877 wxGBPosition
*arg2
= 0 ;
41878 wxGBSpan
*arg3
= 0 ;
41881 PyObject
*arg6
= (PyObject
*) NULL
;
41882 wxGBSizerItem
*result
;
41883 wxGBPosition temp2
;
41885 PyObject
* obj0
= 0 ;
41886 PyObject
* obj1
= 0 ;
41887 PyObject
* obj2
= 0 ;
41888 PyObject
* obj3
= 0 ;
41889 PyObject
* obj4
= 0 ;
41890 PyObject
* obj5
= 0 ;
41891 char *kwnames
[] = {
41892 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41897 if (SWIG_arg_fail(1)) SWIG_fail
;
41900 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41904 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41907 arg4
= (int)(SWIG_As_int(obj3
));
41908 if (SWIG_arg_fail(4)) SWIG_fail
;
41911 arg5
= (int)(SWIG_As_int(obj4
));
41912 if (SWIG_arg_fail(5)) SWIG_fail
;
41918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41919 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41921 wxPyEndAllowThreads(__tstate
);
41922 if (PyErr_Occurred()) SWIG_fail
;
41924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41931 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41932 PyObject
*resultobj
;
41933 wxSizer
*arg1
= (wxSizer
*) 0 ;
41934 wxGBPosition
*arg2
= 0 ;
41935 wxGBSpan
*arg3
= 0 ;
41938 PyObject
*arg6
= (PyObject
*) NULL
;
41939 wxGBSizerItem
*result
;
41940 wxGBPosition temp2
;
41942 PyObject
* obj0
= 0 ;
41943 PyObject
* obj1
= 0 ;
41944 PyObject
* obj2
= 0 ;
41945 PyObject
* obj3
= 0 ;
41946 PyObject
* obj4
= 0 ;
41947 PyObject
* obj5
= 0 ;
41948 char *kwnames
[] = {
41949 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41954 if (SWIG_arg_fail(1)) SWIG_fail
;
41957 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41961 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41964 arg4
= (int)(SWIG_As_int(obj3
));
41965 if (SWIG_arg_fail(4)) SWIG_fail
;
41968 arg5
= (int)(SWIG_As_int(obj4
));
41969 if (SWIG_arg_fail(5)) SWIG_fail
;
41975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41976 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41978 wxPyEndAllowThreads(__tstate
);
41979 if (PyErr_Occurred()) SWIG_fail
;
41981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41988 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41989 PyObject
*resultobj
;
41992 wxGBPosition
*arg3
= 0 ;
41993 wxGBSpan
*arg4
= 0 ;
41996 PyObject
*arg7
= (PyObject
*) NULL
;
41997 wxGBSizerItem
*result
;
41998 wxGBPosition temp3
;
42000 PyObject
* obj0
= 0 ;
42001 PyObject
* obj1
= 0 ;
42002 PyObject
* obj2
= 0 ;
42003 PyObject
* obj3
= 0 ;
42004 PyObject
* obj4
= 0 ;
42005 PyObject
* obj5
= 0 ;
42006 PyObject
* obj6
= 0 ;
42007 char *kwnames
[] = {
42008 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42013 arg1
= (int)(SWIG_As_int(obj0
));
42014 if (SWIG_arg_fail(1)) SWIG_fail
;
42017 arg2
= (int)(SWIG_As_int(obj1
));
42018 if (SWIG_arg_fail(2)) SWIG_fail
;
42022 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42026 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42029 arg5
= (int)(SWIG_As_int(obj4
));
42030 if (SWIG_arg_fail(5)) SWIG_fail
;
42033 arg6
= (int)(SWIG_As_int(obj5
));
42034 if (SWIG_arg_fail(6)) SWIG_fail
;
42040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42041 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42043 wxPyEndAllowThreads(__tstate
);
42044 if (PyErr_Occurred()) SWIG_fail
;
42046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42053 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42054 PyObject
*resultobj
;
42055 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42056 wxGBPosition result
;
42057 PyObject
* obj0
= 0 ;
42058 char *kwnames
[] = {
42059 (char *) "self", NULL
42062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42064 if (SWIG_arg_fail(1)) SWIG_fail
;
42066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42067 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42069 wxPyEndAllowThreads(__tstate
);
42070 if (PyErr_Occurred()) SWIG_fail
;
42073 wxGBPosition
* resultptr
;
42074 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42083 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42084 PyObject
*resultobj
;
42085 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42087 PyObject
* obj0
= 0 ;
42088 char *kwnames
[] = {
42089 (char *) "self", NULL
42092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42094 if (SWIG_arg_fail(1)) SWIG_fail
;
42096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42097 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42099 wxPyEndAllowThreads(__tstate
);
42100 if (PyErr_Occurred()) SWIG_fail
;
42103 wxGBSpan
* resultptr
;
42104 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42113 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42114 PyObject
*resultobj
;
42115 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42116 wxGBPosition
*arg2
= 0 ;
42118 wxGBPosition temp2
;
42119 PyObject
* obj0
= 0 ;
42120 PyObject
* obj1
= 0 ;
42121 char *kwnames
[] = {
42122 (char *) "self",(char *) "pos", NULL
42125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42127 if (SWIG_arg_fail(1)) SWIG_fail
;
42130 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42134 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42136 wxPyEndAllowThreads(__tstate
);
42137 if (PyErr_Occurred()) SWIG_fail
;
42140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42148 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42149 PyObject
*resultobj
;
42150 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42151 wxGBSpan
*arg2
= 0 ;
42154 PyObject
* obj0
= 0 ;
42155 PyObject
* obj1
= 0 ;
42156 char *kwnames
[] = {
42157 (char *) "self",(char *) "span", NULL
42160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42162 if (SWIG_arg_fail(1)) SWIG_fail
;
42165 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42169 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42171 wxPyEndAllowThreads(__tstate
);
42172 if (PyErr_Occurred()) SWIG_fail
;
42175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42183 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42184 PyObject
*resultobj
;
42185 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42186 wxGBSizerItem
*arg2
= 0 ;
42188 PyObject
* obj0
= 0 ;
42189 PyObject
* obj1
= 0 ;
42190 char *kwnames
[] = {
42191 (char *) "self",(char *) "other", NULL
42194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42196 if (SWIG_arg_fail(1)) SWIG_fail
;
42198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42199 if (SWIG_arg_fail(2)) SWIG_fail
;
42200 if (arg2
== NULL
) {
42201 SWIG_null_ref("wxGBSizerItem");
42203 if (SWIG_arg_fail(2)) SWIG_fail
;
42206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42207 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42209 wxPyEndAllowThreads(__tstate
);
42210 if (PyErr_Occurred()) SWIG_fail
;
42213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42221 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42222 PyObject
*resultobj
;
42223 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42224 wxGBPosition
*arg2
= 0 ;
42225 wxGBSpan
*arg3
= 0 ;
42227 wxGBPosition temp2
;
42229 PyObject
* obj0
= 0 ;
42230 PyObject
* obj1
= 0 ;
42231 PyObject
* obj2
= 0 ;
42232 char *kwnames
[] = {
42233 (char *) "self",(char *) "pos",(char *) "span", NULL
42236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42238 if (SWIG_arg_fail(1)) SWIG_fail
;
42241 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42245 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42249 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42251 wxPyEndAllowThreads(__tstate
);
42252 if (PyErr_Occurred()) SWIG_fail
;
42255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42263 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42264 PyObject
*resultobj
;
42265 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42266 wxGBPosition result
;
42267 PyObject
* obj0
= 0 ;
42268 char *kwnames
[] = {
42269 (char *) "self", NULL
42272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42274 if (SWIG_arg_fail(1)) SWIG_fail
;
42276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42277 result
= wxGBSizerItem_GetEndPos(arg1
);
42279 wxPyEndAllowThreads(__tstate
);
42280 if (PyErr_Occurred()) SWIG_fail
;
42283 wxGBPosition
* resultptr
;
42284 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42293 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42294 PyObject
*resultobj
;
42295 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42296 wxGridBagSizer
*result
;
42297 PyObject
* obj0
= 0 ;
42298 char *kwnames
[] = {
42299 (char *) "self", NULL
42302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42304 if (SWIG_arg_fail(1)) SWIG_fail
;
42306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42307 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42309 wxPyEndAllowThreads(__tstate
);
42310 if (PyErr_Occurred()) SWIG_fail
;
42312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42319 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42320 PyObject
*resultobj
;
42321 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42322 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42323 PyObject
* obj0
= 0 ;
42324 PyObject
* obj1
= 0 ;
42325 char *kwnames
[] = {
42326 (char *) "self",(char *) "sizer", NULL
42329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42331 if (SWIG_arg_fail(1)) SWIG_fail
;
42332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42333 if (SWIG_arg_fail(2)) SWIG_fail
;
42335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42336 (arg1
)->SetGBSizer(arg2
);
42338 wxPyEndAllowThreads(__tstate
);
42339 if (PyErr_Occurred()) SWIG_fail
;
42341 Py_INCREF(Py_None
); resultobj
= Py_None
;
42348 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42351 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42353 return Py_BuildValue((char *)"");
42355 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42356 PyObject
*resultobj
;
42357 int arg1
= (int) 0 ;
42358 int arg2
= (int) 0 ;
42359 wxGridBagSizer
*result
;
42360 PyObject
* obj0
= 0 ;
42361 PyObject
* obj1
= 0 ;
42362 char *kwnames
[] = {
42363 (char *) "vgap",(char *) "hgap", NULL
42366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42369 arg1
= (int)(SWIG_As_int(obj0
));
42370 if (SWIG_arg_fail(1)) SWIG_fail
;
42375 arg2
= (int)(SWIG_As_int(obj1
));
42376 if (SWIG_arg_fail(2)) SWIG_fail
;
42380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42381 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42383 wxPyEndAllowThreads(__tstate
);
42384 if (PyErr_Occurred()) SWIG_fail
;
42386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42393 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42394 PyObject
*resultobj
;
42395 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42396 PyObject
*arg2
= (PyObject
*) 0 ;
42397 wxGBPosition
*arg3
= 0 ;
42398 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42399 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42400 int arg5
= (int) 0 ;
42401 int arg6
= (int) 0 ;
42402 PyObject
*arg7
= (PyObject
*) NULL
;
42403 wxGBSizerItem
*result
;
42404 wxGBPosition temp3
;
42406 PyObject
* obj0
= 0 ;
42407 PyObject
* obj1
= 0 ;
42408 PyObject
* obj2
= 0 ;
42409 PyObject
* obj3
= 0 ;
42410 PyObject
* obj4
= 0 ;
42411 PyObject
* obj5
= 0 ;
42412 PyObject
* obj6
= 0 ;
42413 char *kwnames
[] = {
42414 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42419 if (SWIG_arg_fail(1)) SWIG_fail
;
42423 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42428 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42433 arg5
= (int)(SWIG_As_int(obj4
));
42434 if (SWIG_arg_fail(5)) SWIG_fail
;
42439 arg6
= (int)(SWIG_As_int(obj5
));
42440 if (SWIG_arg_fail(6)) SWIG_fail
;
42447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42448 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42450 wxPyEndAllowThreads(__tstate
);
42451 if (PyErr_Occurred()) SWIG_fail
;
42453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42460 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42461 PyObject
*resultobj
;
42462 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42463 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42464 wxGBSizerItem
*result
;
42465 PyObject
* obj0
= 0 ;
42466 PyObject
* obj1
= 0 ;
42467 char *kwnames
[] = {
42468 (char *) "self",(char *) "item", NULL
42471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42473 if (SWIG_arg_fail(1)) SWIG_fail
;
42474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42475 if (SWIG_arg_fail(2)) SWIG_fail
;
42477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42478 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42480 wxPyEndAllowThreads(__tstate
);
42481 if (PyErr_Occurred()) SWIG_fail
;
42483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42490 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42491 PyObject
*resultobj
;
42492 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42496 PyObject
* obj0
= 0 ;
42497 PyObject
* obj1
= 0 ;
42498 PyObject
* obj2
= 0 ;
42499 char *kwnames
[] = {
42500 (char *) "self",(char *) "row",(char *) "col", NULL
42503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42505 if (SWIG_arg_fail(1)) SWIG_fail
;
42507 arg2
= (int)(SWIG_As_int(obj1
));
42508 if (SWIG_arg_fail(2)) SWIG_fail
;
42511 arg3
= (int)(SWIG_As_int(obj2
));
42512 if (SWIG_arg_fail(3)) SWIG_fail
;
42515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42516 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42518 wxPyEndAllowThreads(__tstate
);
42519 if (PyErr_Occurred()) SWIG_fail
;
42522 wxSize
* resultptr
;
42523 resultptr
= new wxSize((wxSize
&)(result
));
42524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42532 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42533 PyObject
*resultobj
;
42534 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42536 PyObject
* obj0
= 0 ;
42537 char *kwnames
[] = {
42538 (char *) "self", NULL
42541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42543 if (SWIG_arg_fail(1)) SWIG_fail
;
42545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42546 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42548 wxPyEndAllowThreads(__tstate
);
42549 if (PyErr_Occurred()) SWIG_fail
;
42552 wxSize
* resultptr
;
42553 resultptr
= new wxSize((wxSize
&)(result
));
42554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42562 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42563 PyObject
*resultobj
;
42564 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42567 PyObject
* obj0
= 0 ;
42568 PyObject
* obj1
= 0 ;
42569 char *kwnames
[] = {
42570 (char *) "self",(char *) "sz", NULL
42573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42575 if (SWIG_arg_fail(1)) SWIG_fail
;
42578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42582 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42584 wxPyEndAllowThreads(__tstate
);
42585 if (PyErr_Occurred()) SWIG_fail
;
42587 Py_INCREF(Py_None
); resultobj
= Py_None
;
42594 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42595 PyObject
*resultobj
;
42596 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42597 wxWindow
*arg2
= (wxWindow
*) 0 ;
42598 wxGBPosition result
;
42599 PyObject
* obj0
= 0 ;
42600 PyObject
* obj1
= 0 ;
42602 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42604 if (SWIG_arg_fail(1)) SWIG_fail
;
42605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42606 if (SWIG_arg_fail(2)) SWIG_fail
;
42608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42609 result
= (arg1
)->GetItemPosition(arg2
);
42611 wxPyEndAllowThreads(__tstate
);
42612 if (PyErr_Occurred()) SWIG_fail
;
42615 wxGBPosition
* resultptr
;
42616 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42625 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42626 PyObject
*resultobj
;
42627 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42628 wxSizer
*arg2
= (wxSizer
*) 0 ;
42629 wxGBPosition result
;
42630 PyObject
* obj0
= 0 ;
42631 PyObject
* obj1
= 0 ;
42633 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42635 if (SWIG_arg_fail(1)) SWIG_fail
;
42636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42637 if (SWIG_arg_fail(2)) SWIG_fail
;
42639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42640 result
= (arg1
)->GetItemPosition(arg2
);
42642 wxPyEndAllowThreads(__tstate
);
42643 if (PyErr_Occurred()) SWIG_fail
;
42646 wxGBPosition
* resultptr
;
42647 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42656 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42657 PyObject
*resultobj
;
42658 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42660 wxGBPosition result
;
42661 PyObject
* obj0
= 0 ;
42662 PyObject
* obj1
= 0 ;
42664 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42666 if (SWIG_arg_fail(1)) SWIG_fail
;
42668 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42669 if (SWIG_arg_fail(2)) SWIG_fail
;
42672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42673 result
= (arg1
)->GetItemPosition(arg2
);
42675 wxPyEndAllowThreads(__tstate
);
42676 if (PyErr_Occurred()) SWIG_fail
;
42679 wxGBPosition
* resultptr
;
42680 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42689 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42694 argc
= PyObject_Length(args
);
42695 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42696 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42702 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42712 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42720 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42738 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42746 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42754 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42762 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42764 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42769 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42774 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42775 PyObject
*resultobj
;
42776 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42777 wxWindow
*arg2
= (wxWindow
*) 0 ;
42778 wxGBPosition
*arg3
= 0 ;
42780 wxGBPosition temp3
;
42781 PyObject
* obj0
= 0 ;
42782 PyObject
* obj1
= 0 ;
42783 PyObject
* obj2
= 0 ;
42785 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42787 if (SWIG_arg_fail(1)) SWIG_fail
;
42788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42789 if (SWIG_arg_fail(2)) SWIG_fail
;
42792 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42796 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42798 wxPyEndAllowThreads(__tstate
);
42799 if (PyErr_Occurred()) SWIG_fail
;
42802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42810 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42811 PyObject
*resultobj
;
42812 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42813 wxSizer
*arg2
= (wxSizer
*) 0 ;
42814 wxGBPosition
*arg3
= 0 ;
42816 wxGBPosition temp3
;
42817 PyObject
* obj0
= 0 ;
42818 PyObject
* obj1
= 0 ;
42819 PyObject
* obj2
= 0 ;
42821 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42823 if (SWIG_arg_fail(1)) SWIG_fail
;
42824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42825 if (SWIG_arg_fail(2)) SWIG_fail
;
42828 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42832 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42834 wxPyEndAllowThreads(__tstate
);
42835 if (PyErr_Occurred()) SWIG_fail
;
42838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42846 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42847 PyObject
*resultobj
;
42848 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42850 wxGBPosition
*arg3
= 0 ;
42852 wxGBPosition temp3
;
42853 PyObject
* obj0
= 0 ;
42854 PyObject
* obj1
= 0 ;
42855 PyObject
* obj2
= 0 ;
42857 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42859 if (SWIG_arg_fail(1)) SWIG_fail
;
42861 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42862 if (SWIG_arg_fail(2)) SWIG_fail
;
42866 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42870 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42872 wxPyEndAllowThreads(__tstate
);
42873 if (PyErr_Occurred()) SWIG_fail
;
42876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42884 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42889 argc
= PyObject_Length(args
);
42890 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42891 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42897 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42907 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42916 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42919 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42928 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42938 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42947 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42950 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42959 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42967 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42970 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42973 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42979 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42984 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42985 PyObject
*resultobj
;
42986 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42987 wxWindow
*arg2
= (wxWindow
*) 0 ;
42989 PyObject
* obj0
= 0 ;
42990 PyObject
* obj1
= 0 ;
42992 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42994 if (SWIG_arg_fail(1)) SWIG_fail
;
42995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42996 if (SWIG_arg_fail(2)) SWIG_fail
;
42998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42999 result
= (arg1
)->GetItemSpan(arg2
);
43001 wxPyEndAllowThreads(__tstate
);
43002 if (PyErr_Occurred()) SWIG_fail
;
43005 wxGBSpan
* resultptr
;
43006 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43015 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43016 PyObject
*resultobj
;
43017 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43018 wxSizer
*arg2
= (wxSizer
*) 0 ;
43020 PyObject
* obj0
= 0 ;
43021 PyObject
* obj1
= 0 ;
43023 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43025 if (SWIG_arg_fail(1)) SWIG_fail
;
43026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43027 if (SWIG_arg_fail(2)) SWIG_fail
;
43029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43030 result
= (arg1
)->GetItemSpan(arg2
);
43032 wxPyEndAllowThreads(__tstate
);
43033 if (PyErr_Occurred()) SWIG_fail
;
43036 wxGBSpan
* resultptr
;
43037 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43046 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43047 PyObject
*resultobj
;
43048 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43051 PyObject
* obj0
= 0 ;
43052 PyObject
* obj1
= 0 ;
43054 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43056 if (SWIG_arg_fail(1)) SWIG_fail
;
43058 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43059 if (SWIG_arg_fail(2)) SWIG_fail
;
43062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43063 result
= (arg1
)->GetItemSpan(arg2
);
43065 wxPyEndAllowThreads(__tstate
);
43066 if (PyErr_Occurred()) SWIG_fail
;
43069 wxGBSpan
* resultptr
;
43070 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43079 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43084 argc
= PyObject_Length(args
);
43085 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43086 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43092 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43102 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43110 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43118 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43128 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43136 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43144 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43152 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43154 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43159 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43164 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43165 PyObject
*resultobj
;
43166 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43167 wxWindow
*arg2
= (wxWindow
*) 0 ;
43168 wxGBSpan
*arg3
= 0 ;
43171 PyObject
* obj0
= 0 ;
43172 PyObject
* obj1
= 0 ;
43173 PyObject
* obj2
= 0 ;
43175 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43177 if (SWIG_arg_fail(1)) SWIG_fail
;
43178 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43179 if (SWIG_arg_fail(2)) SWIG_fail
;
43182 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43186 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43188 wxPyEndAllowThreads(__tstate
);
43189 if (PyErr_Occurred()) SWIG_fail
;
43192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43200 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43201 PyObject
*resultobj
;
43202 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43203 wxSizer
*arg2
= (wxSizer
*) 0 ;
43204 wxGBSpan
*arg3
= 0 ;
43207 PyObject
* obj0
= 0 ;
43208 PyObject
* obj1
= 0 ;
43209 PyObject
* obj2
= 0 ;
43211 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43213 if (SWIG_arg_fail(1)) SWIG_fail
;
43214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43215 if (SWIG_arg_fail(2)) SWIG_fail
;
43218 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43222 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43224 wxPyEndAllowThreads(__tstate
);
43225 if (PyErr_Occurred()) SWIG_fail
;
43228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43236 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43237 PyObject
*resultobj
;
43238 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43240 wxGBSpan
*arg3
= 0 ;
43243 PyObject
* obj0
= 0 ;
43244 PyObject
* obj1
= 0 ;
43245 PyObject
* obj2
= 0 ;
43247 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43249 if (SWIG_arg_fail(1)) SWIG_fail
;
43251 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43252 if (SWIG_arg_fail(2)) SWIG_fail
;
43256 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43260 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43262 wxPyEndAllowThreads(__tstate
);
43263 if (PyErr_Occurred()) SWIG_fail
;
43266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43274 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43279 argc
= PyObject_Length(args
);
43280 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43281 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43287 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43297 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43306 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43309 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43318 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43328 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43337 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43340 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43349 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43357 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43360 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43363 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43369 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43374 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43375 PyObject
*resultobj
;
43376 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43377 wxWindow
*arg2
= (wxWindow
*) 0 ;
43378 wxGBSizerItem
*result
;
43379 PyObject
* obj0
= 0 ;
43380 PyObject
* obj1
= 0 ;
43382 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43384 if (SWIG_arg_fail(1)) SWIG_fail
;
43385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43386 if (SWIG_arg_fail(2)) SWIG_fail
;
43388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43389 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43391 wxPyEndAllowThreads(__tstate
);
43392 if (PyErr_Occurred()) SWIG_fail
;
43394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43401 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43402 PyObject
*resultobj
;
43403 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43404 wxSizer
*arg2
= (wxSizer
*) 0 ;
43405 wxGBSizerItem
*result
;
43406 PyObject
* obj0
= 0 ;
43407 PyObject
* obj1
= 0 ;
43409 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43411 if (SWIG_arg_fail(1)) SWIG_fail
;
43412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43413 if (SWIG_arg_fail(2)) SWIG_fail
;
43415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43416 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43418 wxPyEndAllowThreads(__tstate
);
43419 if (PyErr_Occurred()) SWIG_fail
;
43421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43428 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43433 argc
= PyObject_Length(args
);
43434 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43435 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43441 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43451 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43459 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43467 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43477 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43485 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43490 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43495 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43496 PyObject
*resultobj
;
43497 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43498 wxGBPosition
*arg2
= 0 ;
43499 wxGBSizerItem
*result
;
43500 wxGBPosition temp2
;
43501 PyObject
* obj0
= 0 ;
43502 PyObject
* obj1
= 0 ;
43503 char *kwnames
[] = {
43504 (char *) "self",(char *) "pos", NULL
43507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43509 if (SWIG_arg_fail(1)) SWIG_fail
;
43512 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43516 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43518 wxPyEndAllowThreads(__tstate
);
43519 if (PyErr_Occurred()) SWIG_fail
;
43521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43528 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43529 PyObject
*resultobj
;
43530 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43531 wxPoint
*arg2
= 0 ;
43532 wxGBSizerItem
*result
;
43534 PyObject
* obj0
= 0 ;
43535 PyObject
* obj1
= 0 ;
43536 char *kwnames
[] = {
43537 (char *) "self",(char *) "pt", NULL
43540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43542 if (SWIG_arg_fail(1)) SWIG_fail
;
43545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43549 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43551 wxPyEndAllowThreads(__tstate
);
43552 if (PyErr_Occurred()) SWIG_fail
;
43554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43561 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43562 PyObject
*resultobj
;
43563 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43564 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43565 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43567 PyObject
* obj0
= 0 ;
43568 PyObject
* obj1
= 0 ;
43569 PyObject
* obj2
= 0 ;
43570 char *kwnames
[] = {
43571 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43576 if (SWIG_arg_fail(1)) SWIG_fail
;
43577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43578 if (SWIG_arg_fail(2)) SWIG_fail
;
43580 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43581 if (SWIG_arg_fail(3)) SWIG_fail
;
43584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43585 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43587 wxPyEndAllowThreads(__tstate
);
43588 if (PyErr_Occurred()) SWIG_fail
;
43591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43599 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43600 PyObject
*resultobj
;
43601 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43602 wxGBPosition
*arg2
= 0 ;
43603 wxGBSpan
*arg3
= 0 ;
43604 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43606 wxGBPosition temp2
;
43608 PyObject
* obj0
= 0 ;
43609 PyObject
* obj1
= 0 ;
43610 PyObject
* obj2
= 0 ;
43611 PyObject
* obj3
= 0 ;
43612 char *kwnames
[] = {
43613 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43618 if (SWIG_arg_fail(1)) SWIG_fail
;
43621 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43625 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43628 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43629 if (SWIG_arg_fail(4)) SWIG_fail
;
43632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43633 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43635 wxPyEndAllowThreads(__tstate
);
43636 if (PyErr_Occurred()) SWIG_fail
;
43639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43647 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43650 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43652 return Py_BuildValue((char *)"");
43654 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43655 PyObject
*resultobj
;
43656 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43657 wxRelationship arg2
;
43658 wxWindow
*arg3
= (wxWindow
*) 0 ;
43660 int arg5
= (int) 0 ;
43661 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43662 PyObject
* obj0
= 0 ;
43663 PyObject
* obj1
= 0 ;
43664 PyObject
* obj2
= 0 ;
43665 PyObject
* obj3
= 0 ;
43666 PyObject
* obj4
= 0 ;
43667 PyObject
* obj5
= 0 ;
43668 char *kwnames
[] = {
43669 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43674 if (SWIG_arg_fail(1)) SWIG_fail
;
43676 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43677 if (SWIG_arg_fail(2)) SWIG_fail
;
43679 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43680 if (SWIG_arg_fail(3)) SWIG_fail
;
43682 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43683 if (SWIG_arg_fail(4)) SWIG_fail
;
43687 arg5
= (int)(SWIG_As_int(obj4
));
43688 if (SWIG_arg_fail(5)) SWIG_fail
;
43693 arg6
= (int)(SWIG_As_int(obj5
));
43694 if (SWIG_arg_fail(6)) SWIG_fail
;
43698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43699 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43701 wxPyEndAllowThreads(__tstate
);
43702 if (PyErr_Occurred()) SWIG_fail
;
43704 Py_INCREF(Py_None
); resultobj
= Py_None
;
43711 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43712 PyObject
*resultobj
;
43713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43714 wxWindow
*arg2
= (wxWindow
*) 0 ;
43715 int arg3
= (int) 0 ;
43716 PyObject
* obj0
= 0 ;
43717 PyObject
* obj1
= 0 ;
43718 PyObject
* obj2
= 0 ;
43719 char *kwnames
[] = {
43720 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43725 if (SWIG_arg_fail(1)) SWIG_fail
;
43726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43727 if (SWIG_arg_fail(2)) SWIG_fail
;
43730 arg3
= (int)(SWIG_As_int(obj2
));
43731 if (SWIG_arg_fail(3)) SWIG_fail
;
43735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43736 (arg1
)->LeftOf(arg2
,arg3
);
43738 wxPyEndAllowThreads(__tstate
);
43739 if (PyErr_Occurred()) SWIG_fail
;
43741 Py_INCREF(Py_None
); resultobj
= Py_None
;
43748 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43749 PyObject
*resultobj
;
43750 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43751 wxWindow
*arg2
= (wxWindow
*) 0 ;
43752 int arg3
= (int) 0 ;
43753 PyObject
* obj0
= 0 ;
43754 PyObject
* obj1
= 0 ;
43755 PyObject
* obj2
= 0 ;
43756 char *kwnames
[] = {
43757 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43762 if (SWIG_arg_fail(1)) SWIG_fail
;
43763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43764 if (SWIG_arg_fail(2)) SWIG_fail
;
43767 arg3
= (int)(SWIG_As_int(obj2
));
43768 if (SWIG_arg_fail(3)) SWIG_fail
;
43772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43773 (arg1
)->RightOf(arg2
,arg3
);
43775 wxPyEndAllowThreads(__tstate
);
43776 if (PyErr_Occurred()) SWIG_fail
;
43778 Py_INCREF(Py_None
); resultobj
= Py_None
;
43785 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43786 PyObject
*resultobj
;
43787 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43788 wxWindow
*arg2
= (wxWindow
*) 0 ;
43789 int arg3
= (int) 0 ;
43790 PyObject
* obj0
= 0 ;
43791 PyObject
* obj1
= 0 ;
43792 PyObject
* obj2
= 0 ;
43793 char *kwnames
[] = {
43794 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43799 if (SWIG_arg_fail(1)) SWIG_fail
;
43800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43801 if (SWIG_arg_fail(2)) SWIG_fail
;
43804 arg3
= (int)(SWIG_As_int(obj2
));
43805 if (SWIG_arg_fail(3)) SWIG_fail
;
43809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43810 (arg1
)->Above(arg2
,arg3
);
43812 wxPyEndAllowThreads(__tstate
);
43813 if (PyErr_Occurred()) SWIG_fail
;
43815 Py_INCREF(Py_None
); resultobj
= Py_None
;
43822 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43823 PyObject
*resultobj
;
43824 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43825 wxWindow
*arg2
= (wxWindow
*) 0 ;
43826 int arg3
= (int) 0 ;
43827 PyObject
* obj0
= 0 ;
43828 PyObject
* obj1
= 0 ;
43829 PyObject
* obj2
= 0 ;
43830 char *kwnames
[] = {
43831 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43836 if (SWIG_arg_fail(1)) SWIG_fail
;
43837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43838 if (SWIG_arg_fail(2)) SWIG_fail
;
43841 arg3
= (int)(SWIG_As_int(obj2
));
43842 if (SWIG_arg_fail(3)) SWIG_fail
;
43846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43847 (arg1
)->Below(arg2
,arg3
);
43849 wxPyEndAllowThreads(__tstate
);
43850 if (PyErr_Occurred()) SWIG_fail
;
43852 Py_INCREF(Py_None
); resultobj
= Py_None
;
43859 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43860 PyObject
*resultobj
;
43861 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43862 wxWindow
*arg2
= (wxWindow
*) 0 ;
43864 int arg4
= (int) 0 ;
43865 PyObject
* obj0
= 0 ;
43866 PyObject
* obj1
= 0 ;
43867 PyObject
* obj2
= 0 ;
43868 PyObject
* obj3
= 0 ;
43869 char *kwnames
[] = {
43870 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43875 if (SWIG_arg_fail(1)) SWIG_fail
;
43876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43877 if (SWIG_arg_fail(2)) SWIG_fail
;
43879 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43880 if (SWIG_arg_fail(3)) SWIG_fail
;
43884 arg4
= (int)(SWIG_As_int(obj3
));
43885 if (SWIG_arg_fail(4)) SWIG_fail
;
43889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43890 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43892 wxPyEndAllowThreads(__tstate
);
43893 if (PyErr_Occurred()) SWIG_fail
;
43895 Py_INCREF(Py_None
); resultobj
= Py_None
;
43902 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43903 PyObject
*resultobj
;
43904 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43905 wxWindow
*arg2
= (wxWindow
*) 0 ;
43908 PyObject
* obj0
= 0 ;
43909 PyObject
* obj1
= 0 ;
43910 PyObject
* obj2
= 0 ;
43911 PyObject
* obj3
= 0 ;
43912 char *kwnames
[] = {
43913 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43918 if (SWIG_arg_fail(1)) SWIG_fail
;
43919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43920 if (SWIG_arg_fail(2)) SWIG_fail
;
43922 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43923 if (SWIG_arg_fail(3)) SWIG_fail
;
43926 arg4
= (int)(SWIG_As_int(obj3
));
43927 if (SWIG_arg_fail(4)) SWIG_fail
;
43930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43931 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43933 wxPyEndAllowThreads(__tstate
);
43934 if (PyErr_Occurred()) SWIG_fail
;
43936 Py_INCREF(Py_None
); resultobj
= Py_None
;
43943 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43944 PyObject
*resultobj
;
43945 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43947 PyObject
* obj0
= 0 ;
43948 PyObject
* obj1
= 0 ;
43949 char *kwnames
[] = {
43950 (char *) "self",(char *) "val", NULL
43953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43955 if (SWIG_arg_fail(1)) SWIG_fail
;
43957 arg2
= (int)(SWIG_As_int(obj1
));
43958 if (SWIG_arg_fail(2)) SWIG_fail
;
43961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43962 (arg1
)->Absolute(arg2
);
43964 wxPyEndAllowThreads(__tstate
);
43965 if (PyErr_Occurred()) SWIG_fail
;
43967 Py_INCREF(Py_None
); resultobj
= Py_None
;
43974 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43975 PyObject
*resultobj
;
43976 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43977 PyObject
* obj0
= 0 ;
43978 char *kwnames
[] = {
43979 (char *) "self", NULL
43982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43984 if (SWIG_arg_fail(1)) SWIG_fail
;
43986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43987 (arg1
)->Unconstrained();
43989 wxPyEndAllowThreads(__tstate
);
43990 if (PyErr_Occurred()) SWIG_fail
;
43992 Py_INCREF(Py_None
); resultobj
= Py_None
;
43999 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44000 PyObject
*resultobj
;
44001 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44002 PyObject
* obj0
= 0 ;
44003 char *kwnames
[] = {
44004 (char *) "self", NULL
44007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44009 if (SWIG_arg_fail(1)) SWIG_fail
;
44011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44014 wxPyEndAllowThreads(__tstate
);
44015 if (PyErr_Occurred()) SWIG_fail
;
44017 Py_INCREF(Py_None
); resultobj
= Py_None
;
44024 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44025 PyObject
*resultobj
;
44026 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44028 PyObject
* obj0
= 0 ;
44029 char *kwnames
[] = {
44030 (char *) "self", NULL
44033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44035 if (SWIG_arg_fail(1)) SWIG_fail
;
44037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44038 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44040 wxPyEndAllowThreads(__tstate
);
44041 if (PyErr_Occurred()) SWIG_fail
;
44044 resultobj
= wxPyMake_wxObject(result
, 0);
44052 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44053 PyObject
*resultobj
;
44054 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44056 PyObject
* obj0
= 0 ;
44057 char *kwnames
[] = {
44058 (char *) "self", NULL
44061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44063 if (SWIG_arg_fail(1)) SWIG_fail
;
44065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44066 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44068 wxPyEndAllowThreads(__tstate
);
44069 if (PyErr_Occurred()) SWIG_fail
;
44071 resultobj
= SWIG_From_int((result
));
44078 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44079 PyObject
*resultobj
;
44080 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44082 PyObject
* obj0
= 0 ;
44083 PyObject
* obj1
= 0 ;
44084 char *kwnames
[] = {
44085 (char *) "self",(char *) "which", NULL
44088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44090 if (SWIG_arg_fail(1)) SWIG_fail
;
44092 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44093 if (SWIG_arg_fail(2)) SWIG_fail
;
44096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44097 (arg1
)->SetEdge((wxEdge
)arg2
);
44099 wxPyEndAllowThreads(__tstate
);
44100 if (PyErr_Occurred()) SWIG_fail
;
44102 Py_INCREF(Py_None
); resultobj
= Py_None
;
44109 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44110 PyObject
*resultobj
;
44111 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44113 PyObject
* obj0
= 0 ;
44114 PyObject
* obj1
= 0 ;
44115 char *kwnames
[] = {
44116 (char *) "self",(char *) "v", NULL
44119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44121 if (SWIG_arg_fail(1)) SWIG_fail
;
44123 arg2
= (int)(SWIG_As_int(obj1
));
44124 if (SWIG_arg_fail(2)) SWIG_fail
;
44127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44128 (arg1
)->SetValue(arg2
);
44130 wxPyEndAllowThreads(__tstate
);
44131 if (PyErr_Occurred()) SWIG_fail
;
44133 Py_INCREF(Py_None
); resultobj
= Py_None
;
44140 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44141 PyObject
*resultobj
;
44142 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44144 PyObject
* obj0
= 0 ;
44145 char *kwnames
[] = {
44146 (char *) "self", NULL
44149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44151 if (SWIG_arg_fail(1)) SWIG_fail
;
44153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44154 result
= (int)(arg1
)->GetMargin();
44156 wxPyEndAllowThreads(__tstate
);
44157 if (PyErr_Occurred()) SWIG_fail
;
44160 resultobj
= SWIG_From_int((int)(result
));
44168 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44169 PyObject
*resultobj
;
44170 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44172 PyObject
* obj0
= 0 ;
44173 PyObject
* obj1
= 0 ;
44174 char *kwnames
[] = {
44175 (char *) "self",(char *) "m", NULL
44178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44180 if (SWIG_arg_fail(1)) SWIG_fail
;
44182 arg2
= (int)(SWIG_As_int(obj1
));
44183 if (SWIG_arg_fail(2)) SWIG_fail
;
44186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44187 (arg1
)->SetMargin(arg2
);
44189 wxPyEndAllowThreads(__tstate
);
44190 if (PyErr_Occurred()) SWIG_fail
;
44192 Py_INCREF(Py_None
); resultobj
= Py_None
;
44199 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44200 PyObject
*resultobj
;
44201 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44203 PyObject
* obj0
= 0 ;
44204 char *kwnames
[] = {
44205 (char *) "self", NULL
44208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44210 if (SWIG_arg_fail(1)) SWIG_fail
;
44212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44213 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44215 wxPyEndAllowThreads(__tstate
);
44216 if (PyErr_Occurred()) SWIG_fail
;
44219 resultobj
= SWIG_From_int((int)(result
));
44227 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44228 PyObject
*resultobj
;
44229 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44231 PyObject
* obj0
= 0 ;
44232 char *kwnames
[] = {
44233 (char *) "self", NULL
44236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44238 if (SWIG_arg_fail(1)) SWIG_fail
;
44240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44241 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44243 wxPyEndAllowThreads(__tstate
);
44244 if (PyErr_Occurred()) SWIG_fail
;
44247 resultobj
= SWIG_From_int((int)(result
));
44255 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44256 PyObject
*resultobj
;
44257 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44259 PyObject
* obj0
= 0 ;
44260 char *kwnames
[] = {
44261 (char *) "self", NULL
44264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44266 if (SWIG_arg_fail(1)) SWIG_fail
;
44268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44269 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44271 wxPyEndAllowThreads(__tstate
);
44272 if (PyErr_Occurred()) SWIG_fail
;
44275 resultobj
= SWIG_From_int((int)(result
));
44283 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44284 PyObject
*resultobj
;
44285 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44287 PyObject
* obj0
= 0 ;
44288 char *kwnames
[] = {
44289 (char *) "self", NULL
44292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44294 if (SWIG_arg_fail(1)) SWIG_fail
;
44296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44297 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44299 wxPyEndAllowThreads(__tstate
);
44300 if (PyErr_Occurred()) SWIG_fail
;
44303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44311 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44312 PyObject
*resultobj
;
44313 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44315 PyObject
* obj0
= 0 ;
44316 PyObject
* obj1
= 0 ;
44317 char *kwnames
[] = {
44318 (char *) "self",(char *) "d", NULL
44321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44323 if (SWIG_arg_fail(1)) SWIG_fail
;
44325 arg2
= (bool)(SWIG_As_bool(obj1
));
44326 if (SWIG_arg_fail(2)) SWIG_fail
;
44329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44330 (arg1
)->SetDone(arg2
);
44332 wxPyEndAllowThreads(__tstate
);
44333 if (PyErr_Occurred()) SWIG_fail
;
44335 Py_INCREF(Py_None
); resultobj
= Py_None
;
44342 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44343 PyObject
*resultobj
;
44344 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44345 wxRelationship result
;
44346 PyObject
* obj0
= 0 ;
44347 char *kwnames
[] = {
44348 (char *) "self", NULL
44351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44353 if (SWIG_arg_fail(1)) SWIG_fail
;
44355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44356 result
= (wxRelationship
)(arg1
)->GetRelationship();
44358 wxPyEndAllowThreads(__tstate
);
44359 if (PyErr_Occurred()) SWIG_fail
;
44361 resultobj
= SWIG_From_int((result
));
44368 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44369 PyObject
*resultobj
;
44370 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44371 wxRelationship arg2
;
44372 PyObject
* obj0
= 0 ;
44373 PyObject
* obj1
= 0 ;
44374 char *kwnames
[] = {
44375 (char *) "self",(char *) "r", NULL
44378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44380 if (SWIG_arg_fail(1)) SWIG_fail
;
44382 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44383 if (SWIG_arg_fail(2)) SWIG_fail
;
44386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44387 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44389 wxPyEndAllowThreads(__tstate
);
44390 if (PyErr_Occurred()) SWIG_fail
;
44392 Py_INCREF(Py_None
); resultobj
= Py_None
;
44399 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44400 PyObject
*resultobj
;
44401 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44402 wxWindow
*arg2
= (wxWindow
*) 0 ;
44404 PyObject
* obj0
= 0 ;
44405 PyObject
* obj1
= 0 ;
44406 char *kwnames
[] = {
44407 (char *) "self",(char *) "otherW", NULL
44410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44412 if (SWIG_arg_fail(1)) SWIG_fail
;
44413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44414 if (SWIG_arg_fail(2)) SWIG_fail
;
44416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44417 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44419 wxPyEndAllowThreads(__tstate
);
44420 if (PyErr_Occurred()) SWIG_fail
;
44423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44431 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44432 PyObject
*resultobj
;
44433 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44434 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44435 wxWindow
*arg3
= (wxWindow
*) 0 ;
44437 PyObject
* obj0
= 0 ;
44438 PyObject
* obj1
= 0 ;
44439 PyObject
* obj2
= 0 ;
44440 char *kwnames
[] = {
44441 (char *) "self",(char *) "constraints",(char *) "win", NULL
44444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44446 if (SWIG_arg_fail(1)) SWIG_fail
;
44447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44448 if (SWIG_arg_fail(2)) SWIG_fail
;
44449 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44450 if (SWIG_arg_fail(3)) SWIG_fail
;
44452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44453 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44455 wxPyEndAllowThreads(__tstate
);
44456 if (PyErr_Occurred()) SWIG_fail
;
44459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44467 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44468 PyObject
*resultobj
;
44469 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44471 wxWindow
*arg3
= (wxWindow
*) 0 ;
44472 wxWindow
*arg4
= (wxWindow
*) 0 ;
44474 PyObject
* obj0
= 0 ;
44475 PyObject
* obj1
= 0 ;
44476 PyObject
* obj2
= 0 ;
44477 PyObject
* obj3
= 0 ;
44478 char *kwnames
[] = {
44479 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44484 if (SWIG_arg_fail(1)) SWIG_fail
;
44486 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44487 if (SWIG_arg_fail(2)) SWIG_fail
;
44489 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44490 if (SWIG_arg_fail(3)) SWIG_fail
;
44491 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44492 if (SWIG_arg_fail(4)) SWIG_fail
;
44494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44495 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44497 wxPyEndAllowThreads(__tstate
);
44498 if (PyErr_Occurred()) SWIG_fail
;
44501 resultobj
= SWIG_From_int((int)(result
));
44509 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44512 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44514 return Py_BuildValue((char *)"");
44516 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44517 PyObject
*resultobj
;
44518 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44519 wxIndividualLayoutConstraint
*result
;
44520 PyObject
* obj0
= 0 ;
44521 char *kwnames
[] = {
44522 (char *) "self", NULL
44525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44527 if (SWIG_arg_fail(1)) SWIG_fail
;
44528 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44537 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44538 PyObject
*resultobj
;
44539 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44540 wxIndividualLayoutConstraint
*result
;
44541 PyObject
* obj0
= 0 ;
44542 char *kwnames
[] = {
44543 (char *) "self", NULL
44546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44548 if (SWIG_arg_fail(1)) SWIG_fail
;
44549 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44558 static PyObject
*_wrap_LayoutConstraints_right_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_right_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
)->right
);
44572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44579 static PyObject
*_wrap_LayoutConstraints_bottom_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_bottom_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
)->bottom
);
44593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44600 static PyObject
*_wrap_LayoutConstraints_width_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_width_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
)->width
);
44614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44621 static PyObject
*_wrap_LayoutConstraints_height_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_height_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
)->height
);
44635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44642 static PyObject
*_wrap_LayoutConstraints_centreX_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_centreX_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
)->centreX
);
44656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44663 static PyObject
*_wrap_LayoutConstraints_centreY_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_centreY_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
)->centreY
);
44677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44684 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44685 PyObject
*resultobj
;
44686 wxLayoutConstraints
*result
;
44687 char *kwnames
[] = {
44691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44694 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44696 wxPyEndAllowThreads(__tstate
);
44697 if (PyErr_Occurred()) SWIG_fail
;
44699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44706 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44707 PyObject
*resultobj
;
44708 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44709 wxWindow
*arg2
= (wxWindow
*) 0 ;
44710 int *arg3
= (int *) 0 ;
44714 PyObject
* obj0
= 0 ;
44715 PyObject
* obj1
= 0 ;
44716 char *kwnames
[] = {
44717 (char *) "self",(char *) "win", NULL
44720 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44723 if (SWIG_arg_fail(1)) SWIG_fail
;
44724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44725 if (SWIG_arg_fail(2)) SWIG_fail
;
44727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44728 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44730 wxPyEndAllowThreads(__tstate
);
44731 if (PyErr_Occurred()) SWIG_fail
;
44734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44736 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44737 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44744 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44745 PyObject
*resultobj
;
44746 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44748 PyObject
* obj0
= 0 ;
44749 char *kwnames
[] = {
44750 (char *) "self", NULL
44753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44755 if (SWIG_arg_fail(1)) SWIG_fail
;
44757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44758 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44760 wxPyEndAllowThreads(__tstate
);
44761 if (PyErr_Occurred()) SWIG_fail
;
44764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44772 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44775 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44777 return Py_BuildValue((char *)"");
44779 static PyMethodDef SwigMethods
[] = {
44780 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44781 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44782 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44785 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44806 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44819 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44834 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44887 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44915 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44934 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44936 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44944 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44945 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44957 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44969 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44973 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44979 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44989 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44999 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45003 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45078 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45080 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45082 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45084 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45086 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45088 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45090 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45092 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45094 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45096 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45098 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45100 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45102 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45116 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45134 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45137 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45140 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45152 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45157 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45163 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45169 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45232 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45239 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45275 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45285 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45291 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45293 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45295 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45298 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45302 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45305 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45308 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45310 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45315 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45323 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45327 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45330 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45332 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45336 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45353 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45355 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45358 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45360 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45364 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45368 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45379 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45382 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45385 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45396 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45401 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45410 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45455 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45475 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45482 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45486 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45496 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45666 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45708 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45722 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45725 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45780 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45807 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45851 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45859 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45878 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45879 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45916 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45946 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45949 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45953 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45956 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45966 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45978 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45990 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46000 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46010 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46024 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46031 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46032 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46033 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46034 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46035 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46040 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46067 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46079 { NULL
, NULL
, 0, NULL
}
46083 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46085 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46086 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46088 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46089 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46091 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46092 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46094 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46095 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46097 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46098 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46100 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46101 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46103 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46104 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46106 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46107 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46109 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46110 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46112 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46113 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46115 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46118 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46119 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46121 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46122 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46124 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46125 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46127 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46128 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46130 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46131 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46133 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46134 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46136 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46139 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46140 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46142 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46145 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46146 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46148 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46149 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46151 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46152 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46154 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46155 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46157 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46158 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46160 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46161 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46163 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46164 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46166 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46167 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46169 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46170 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46172 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46173 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46175 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46176 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46178 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46179 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46181 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46182 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46184 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46185 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46187 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46188 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46190 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46191 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46193 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46194 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46196 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46197 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46199 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46200 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46202 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46203 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46205 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46206 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46208 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46211 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46212 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46214 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46215 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46217 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46218 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46220 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46221 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46223 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46224 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46226 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46227 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46229 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46230 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46232 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46233 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46235 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46236 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46238 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46239 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46241 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46242 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46244 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46247 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46248 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46250 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46251 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46253 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46254 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46256 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46257 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46259 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46260 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46262 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46263 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46265 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46266 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46268 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46269 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46271 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46272 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46274 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46275 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46277 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46278 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46280 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46281 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46283 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46284 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46286 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46287 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46289 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46290 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46292 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46293 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46295 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46296 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46298 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46299 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46301 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46302 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46304 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46305 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46307 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46308 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46310 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46311 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46313 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46314 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46316 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46317 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46319 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46320 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46322 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46323 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46325 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46326 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46328 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46329 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46331 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46332 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46334 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46337 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46338 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46340 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46341 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46343 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46344 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46346 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46347 return (void *)((wxObject
*) ((wxSizer
*) x
));
46349 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46350 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46352 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46355 static void *_p_wxEventTo_p_wxObject(void *x
) {
46356 return (void *)((wxObject
*) ((wxEvent
*) x
));
46358 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46359 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46361 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46362 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46364 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46365 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46367 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46368 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46370 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46371 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46373 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46374 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46376 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46377 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46379 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46380 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46382 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46383 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46385 static void *_p_wxControlTo_p_wxObject(void *x
) {
46386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46388 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46389 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46391 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46392 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46394 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46395 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46397 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46398 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46400 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46403 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46404 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46406 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46407 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46409 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46412 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46413 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46415 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46418 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46419 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46421 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46422 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46424 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46425 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46427 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46428 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46430 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46431 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46433 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46434 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46436 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46439 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46442 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46445 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46448 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46451 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46454 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46455 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46457 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46458 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46460 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46463 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46466 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46467 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46469 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46472 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46473 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46475 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46476 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46478 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46479 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46481 static void *_p_wxImageTo_p_wxObject(void *x
) {
46482 return (void *)((wxObject
*) ((wxImage
*) x
));
46484 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46485 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46487 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46490 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46491 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46493 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46494 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46496 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46499 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46500 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46502 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46505 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46506 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46508 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46511 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46512 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46514 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46515 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46517 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46518 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46520 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46521 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46523 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46524 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46526 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46529 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46530 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46532 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46533 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46535 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46536 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46538 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46541 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46544 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46547 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46548 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46550 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46551 return (void *)((wxWindow
*) ((wxControl
*) x
));
46553 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46554 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46556 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46557 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46559 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46560 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46562 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46563 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46565 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46566 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46568 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46569 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46571 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46572 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46574 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46575 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46577 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46578 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46580 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46581 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46583 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46584 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46586 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46587 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46589 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}};
46590 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}};
46591 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}};
46592 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}};
46593 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}};
46594 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}};
46595 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}};
46596 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}};
46597 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}};
46598 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}};
46599 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}};
46600 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}};
46601 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}};
46602 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}};
46603 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}};
46604 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}};
46605 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}};
46606 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}};
46607 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}};
46608 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}};
46609 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}};
46610 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}};
46611 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}};
46612 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}};
46613 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}};
46614 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}};
46615 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}};
46616 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}};
46617 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}};
46618 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}};
46619 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}};
46620 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}};
46621 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}};
46622 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}};
46623 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}};
46624 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}};
46625 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}};
46626 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}};
46627 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}};
46628 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}};
46629 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}};
46630 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}};
46631 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}};
46632 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}};
46633 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}};
46634 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}};
46635 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}};
46636 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}};
46637 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}};
46638 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}};
46639 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}};
46640 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}};
46641 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}};
46642 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}};
46643 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}};
46644 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}};
46645 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}};
46646 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}};
46647 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}};
46648 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}};
46649 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}};
46650 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}};
46651 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}};
46652 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}};
46653 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}};
46654 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}};
46655 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}};
46656 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}};
46657 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}};
46658 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}};
46659 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}};
46660 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}};
46661 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}};
46662 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}};
46663 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}};
46664 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}};
46665 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}};
46666 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}};
46667 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}};
46668 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}};
46669 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}};
46670 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}};
46671 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}};
46672 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}};
46673 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}};
46674 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}};
46675 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}};
46676 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}};
46677 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}};
46678 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}};
46679 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}};
46680 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}};
46681 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}};
46682 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}};
46683 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}};
46684 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}};
46685 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}};
46686 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}};
46687 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}};
46688 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}};
46689 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}};
46690 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}};
46691 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}};
46692 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}};
46693 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}};
46694 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}};
46695 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}};
46696 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}};
46697 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}};
46698 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}};
46699 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}};
46700 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}};
46701 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}};
46702 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}};
46703 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}};
46704 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}};
46705 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}};
46706 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}};
46707 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}};
46708 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}};
46709 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}};
46710 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}};
46711 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}};
46712 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}};
46713 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}};
46714 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}};
46715 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}};
46717 static swig_type_info
*swig_types_initial
[] = {
46718 _swigt__p_wxLayoutConstraints
,
46719 _swigt__p_wxRealPoint
,
46720 _swigt__p_wxSizerItem
,
46721 _swigt__p_wxGBSizerItem
,
46722 _swigt__p_wxScrollEvent
,
46723 _swigt__p_wxEventLoop
,
46724 _swigt__p_wxIndividualLayoutConstraint
,
46726 _swigt__p_wxBoxSizer
,
46727 _swigt__p_wxStaticBoxSizer
,
46728 _swigt__p_wxGridBagSizer
,
46729 _swigt__p_wxAcceleratorEntry
,
46730 _swigt__p_wxUpdateUIEvent
,
46733 _swigt__p_wxGridSizer
,
46734 _swigt__p_wxFlexGridSizer
,
46735 _swigt__p_wxInitDialogEvent
,
46736 _swigt__p_wxItemContainer
,
46737 _swigt__p_wxNcPaintEvent
,
46738 _swigt__p_wxPaintEvent
,
46739 _swigt__p_wxSysColourChangedEvent
,
46740 _swigt__p_wxMouseCaptureChangedEvent
,
46741 _swigt__p_wxDisplayChangedEvent
,
46742 _swigt__p_wxPaletteChangedEvent
,
46743 _swigt__p_wxControl
,
46745 _swigt__p_wxMenuBarBase
,
46746 _swigt__p_wxSetCursorEvent
,
46747 _swigt__p_wxFSFile
,
46750 _swigt__std__ptrdiff_t
,
46751 _swigt__p_wxRegion
,
46752 _swigt__p_wxPoint2D
,
46756 _swigt__p_wxPySizer
,
46757 _swigt__p_wxVisualAttributes
,
46758 _swigt__p_wxNotifyEvent
,
46759 _swigt__p_wxPyEvent
,
46760 _swigt__p_wxPropagationDisabler
,
46761 _swigt__p_form_ops_t
,
46762 _swigt__p_wxAppTraits
,
46763 _swigt__p_wxArrayString
,
46764 _swigt__p_wxShowEvent
,
46765 _swigt__p_wxToolTip
,
46766 _swigt__p_wxMoveEvent
,
46767 _swigt__p_wxSizeEvent
,
46768 _swigt__p_wxActivateEvent
,
46769 _swigt__p_wxIconizeEvent
,
46770 _swigt__p_wxMaximizeEvent
,
46771 _swigt__p_wxQueryNewPaletteEvent
,
46772 _swigt__p_wxWindowCreateEvent
,
46773 _swigt__p_wxIdleEvent
,
46774 _swigt__p_wxDateEvent
,
46775 _swigt__p_wxMenuItem
,
46776 _swigt__p_wxStaticBox
,
46778 _swigt__p_wxDuplexMode
,
46779 _swigt__p_wxTIFFHandler
,
46780 _swigt__p_wxXPMHandler
,
46781 _swigt__p_wxPNMHandler
,
46782 _swigt__p_wxJPEGHandler
,
46783 _swigt__p_wxPCXHandler
,
46784 _swigt__p_wxGIFHandler
,
46785 _swigt__p_wxPNGHandler
,
46786 _swigt__p_wxANIHandler
,
46787 _swigt__p_wxMemoryFSHandler
,
46788 _swigt__p_wxZipFSHandler
,
46789 _swigt__p_wxInternetFSHandler
,
46790 _swigt__p_wxPyFileSystemHandler
,
46791 _swigt__p_wxEvtHandler
,
46792 _swigt__p_wxCURHandler
,
46793 _swigt__p_wxICOHandler
,
46794 _swigt__p_wxBMPHandler
,
46795 _swigt__p_wxImageHandler
,
46796 _swigt__p_wxFileSystemHandler
,
46798 _swigt__p_wxButton
,
46799 _swigt__p_wxGBSpan
,
46800 _swigt__p_wxPropagateOnce
,
46801 _swigt__p_wxAcceleratorTable
,
46802 _swigt__p_wxStdDialogButtonSizer
,
46804 _swigt__p_wxGBPosition
,
46807 _swigt__p_wxScrollWinEvent
,
46808 _swigt__p_wxPaperSize
,
46809 _swigt__p_wxImageHistogram
,
46811 _swigt__p_wxCursor
,
46812 _swigt__p_wxObject
,
46813 _swigt__p_wxInputStream
,
46814 _swigt__p_wxOutputStream
,
46815 _swigt__p_wxPyInputStream
,
46816 _swigt__p_wxDateTime
,
46817 _swigt__p_wxKeyEvent
,
46818 _swigt__p_wxNavigationKeyEvent
,
46819 _swigt__p_wxWindowDestroyEvent
,
46820 _swigt__p_unsigned_long
,
46821 _swigt__p_wxWindow
,
46822 _swigt__p_wxMenuBar
,
46823 _swigt__p_wxFileSystem
,
46824 _swigt__p_wxBitmap
,
46825 _swigt__unsigned_int
,
46826 _swigt__p_unsigned_int
,
46827 _swigt__p_wxMenuEvent
,
46828 _swigt__p_wxContextMenuEvent
,
46829 _swigt__p_unsigned_char
,
46830 _swigt__p_wxEraseEvent
,
46831 _swigt__p_wxMouseEvent
,
46832 _swigt__p_wxCloseEvent
,
46834 _swigt__p_wxCommandEvent
,
46835 _swigt__p_wxPyCommandEvent
,
46836 _swigt__p_wxPyDropTarget
,
46837 _swigt__p_wxQuantize
,
46838 _swigt__p_wxChildFocusEvent
,
46839 _swigt__p_wxFocusEvent
,
46840 _swigt__p_wxDropFilesEvent
,
46841 _swigt__p_wxControlWithItems
,
46842 _swigt__p_wxColour
,
46843 _swigt__p_wxValidator
,
46844 _swigt__p_wxPyValidator
,
46849 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46851 static swig_const_info swig_const_table
[] = {
46852 {0, 0, 0, 0.0, 0, 0}};
46863 /* Python-specific SWIG API */
46864 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46865 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46866 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46868 /* -----------------------------------------------------------------------------
46869 * global variable support code.
46870 * ----------------------------------------------------------------------------- */
46872 typedef struct swig_globalvar
{
46873 char *name
; /* Name of global variable */
46874 PyObject
*(*get_attr
)(); /* Return the current value */
46875 int (*set_attr
)(PyObject
*); /* Set the value */
46876 struct swig_globalvar
*next
;
46879 typedef struct swig_varlinkobject
{
46881 swig_globalvar
*vars
;
46882 } swig_varlinkobject
;
46885 swig_varlink_repr(swig_varlinkobject
*v
) {
46887 return PyString_FromString("<Swig global variables>");
46891 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46892 swig_globalvar
*var
;
46894 fprintf(fp
,"Swig global variables { ");
46895 for (var
= v
->vars
; var
; var
=var
->next
) {
46896 fprintf(fp
,"%s", var
->name
);
46897 if (var
->next
) fprintf(fp
,", ");
46899 fprintf(fp
," }\n");
46904 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46905 swig_globalvar
*var
= v
->vars
;
46907 if (strcmp(var
->name
,n
) == 0) {
46908 return (*var
->get_attr
)();
46912 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46917 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46918 swig_globalvar
*var
= v
->vars
;
46920 if (strcmp(var
->name
,n
) == 0) {
46921 return (*var
->set_attr
)(p
);
46925 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46929 static PyTypeObject varlinktype
= {
46930 PyObject_HEAD_INIT(0)
46931 0, /* Number of items in variable part (ob_size) */
46932 (char *)"swigvarlink", /* Type name (tp_name) */
46933 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46934 0, /* Itemsize (tp_itemsize) */
46935 0, /* Deallocator (tp_dealloc) */
46936 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46937 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46938 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46939 0, /* tp_compare */
46940 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46941 0, /* tp_as_number */
46942 0, /* tp_as_sequence */
46943 0, /* tp_as_mapping */
46947 0, /* tp_getattro */
46948 0, /* tp_setattro */
46949 0, /* tp_as_buffer */
46952 #if PY_VERSION_HEX >= 0x02000000
46953 0, /* tp_traverse */
46956 #if PY_VERSION_HEX >= 0x02010000
46957 0, /* tp_richcompare */
46958 0, /* tp_weaklistoffset */
46960 #if PY_VERSION_HEX >= 0x02020000
46961 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46963 #if PY_VERSION_HEX >= 0x02030000
46966 #ifdef COUNT_ALLOCS
46967 0,0,0,0 /* tp_alloc -> tp_next */
46971 /* Create a variable linking object for use later */
46973 SWIG_Python_newvarlink(void) {
46974 swig_varlinkobject
*result
= 0;
46975 result
= PyMem_NEW(swig_varlinkobject
,1);
46976 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46977 result
->ob_type
= &varlinktype
;
46979 result
->ob_refcnt
= 0;
46980 Py_XINCREF((PyObject
*) result
);
46981 return ((PyObject
*) result
);
46985 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46986 swig_varlinkobject
*v
;
46987 swig_globalvar
*gv
;
46988 v
= (swig_varlinkobject
*) p
;
46989 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46990 gv
->name
= (char *) malloc(strlen(name
)+1);
46991 strcpy(gv
->name
,name
);
46992 gv
->get_attr
= get_attr
;
46993 gv
->set_attr
= set_attr
;
46994 gv
->next
= v
->vars
;
46998 /* -----------------------------------------------------------------------------
46999 * constants/methods manipulation
47000 * ----------------------------------------------------------------------------- */
47002 /* Install Constants */
47004 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47007 for (i
= 0; constants
[i
].type
; i
++) {
47008 switch(constants
[i
].type
) {
47010 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47012 case SWIG_PY_FLOAT
:
47013 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47015 case SWIG_PY_STRING
:
47016 if (constants
[i
].pvalue
) {
47017 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47019 Py_INCREF(Py_None
);
47023 case SWIG_PY_POINTER
:
47024 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47026 case SWIG_PY_BINARY
:
47027 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47034 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47040 /* -----------------------------------------------------------------------------*/
47041 /* Fix SwigMethods to carry the callback ptrs when needed */
47042 /* -----------------------------------------------------------------------------*/
47045 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47046 swig_const_info
*const_table
,
47047 swig_type_info
**types
,
47048 swig_type_info
**types_initial
) {
47050 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47051 char *c
= methods
[i
].ml_doc
;
47052 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47054 swig_const_info
*ci
= 0;
47055 char *name
= c
+ 10;
47056 for (j
= 0; const_table
[j
].type
; j
++) {
47057 if (strncmp(const_table
[j
].name
, name
,
47058 strlen(const_table
[j
].name
)) == 0) {
47059 ci
= &(const_table
[j
]);
47064 size_t shift
= (ci
->ptype
) - types
;
47065 swig_type_info
*ty
= types_initial
[shift
];
47066 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47067 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47068 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47070 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47071 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47073 strncpy(buff
, "swig_ptr: ", 10);
47075 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47076 methods
[i
].ml_doc
= ndoc
;
47082 /* -----------------------------------------------------------------------------*
47083 * Initialize type list
47084 * -----------------------------------------------------------------------------*/
47086 #if PY_MAJOR_VERSION < 2
47087 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47088 is copied out of Python/modsupport.c in python version 2.3.4 */
47090 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47093 if (!PyModule_Check(m
)) {
47094 PyErr_SetString(PyExc_TypeError
,
47095 "PyModule_AddObject() needs module as first arg");
47099 PyErr_SetString(PyExc_TypeError
,
47100 "PyModule_AddObject() needs non-NULL value");
47104 dict
= PyModule_GetDict(m
);
47105 if (dict
== NULL
) {
47106 /* Internal error -- modules must have a dict! */
47107 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47108 PyModule_GetName(m
));
47111 if (PyDict_SetItemString(dict
, name
, o
))
47118 static swig_type_info
**
47119 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47120 static PyMethodDef swig_empty_runtime_method_table
[] = {
47122 NULL
, NULL
, 0, NULL
47126 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47127 swig_empty_runtime_method_table
);
47128 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47129 if (pointer
&& module) {
47130 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47132 return type_list_handle
;
47135 static swig_type_info
**
47136 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47137 swig_type_info
**type_pointer
;
47139 /* first check if module already created */
47140 type_pointer
= SWIG_Python_GetTypeListHandle();
47141 if (type_pointer
) {
47142 return type_pointer
;
47144 /* create a new module and variable */
47145 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47153 /* -----------------------------------------------------------------------------*
47154 * Partial Init method
47155 * -----------------------------------------------------------------------------*/
47157 #ifdef SWIG_LINK_RUNTIME
47161 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47167 SWIGEXPORT(void) SWIG_init(void) {
47168 static PyObject
*SWIG_globals
= 0;
47169 static int typeinit
= 0;
47172 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47174 /* Fix SwigMethods to carry the callback ptrs when needed */
47175 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47177 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47178 d
= PyModule_GetDict(m
);
47181 #ifdef SWIG_LINK_RUNTIME
47182 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47184 # ifndef SWIG_STATIC_RUNTIME
47185 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47188 for (i
= 0; swig_types_initial
[i
]; i
++) {
47189 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47193 SWIG_InstallConstants(d
,swig_const_table
);
47196 #ifndef wxPyUSE_EXPORT
47197 // Make our API structure a CObject so other modules can import it
47198 // from this module.
47199 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47200 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47205 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47208 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47211 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47214 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47217 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47220 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47223 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47226 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47229 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47232 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47235 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47238 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47241 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47244 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47247 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47250 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47253 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47256 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47259 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47262 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47265 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47268 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47271 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47274 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47277 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47280 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47283 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47286 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47289 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47292 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47295 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47298 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47301 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47304 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47307 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47310 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47313 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47316 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47319 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47322 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47325 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47328 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47331 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47334 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47337 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47340 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47343 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47346 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47349 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47352 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47355 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47358 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47361 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47364 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47367 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47370 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47373 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47376 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47379 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47382 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47385 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47388 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47391 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47394 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47397 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47400 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47403 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47406 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47409 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47412 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47415 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47418 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47421 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47424 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47427 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47430 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47433 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47436 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47439 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47442 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47445 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47448 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47451 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47454 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47457 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47460 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47463 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47466 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47469 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47472 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47475 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47478 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47481 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47484 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47487 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47490 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47493 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47496 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47499 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47502 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47505 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47508 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47511 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47514 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47517 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47520 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47523 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47526 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47529 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47532 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47535 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47538 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47541 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47544 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47547 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47550 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47553 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47556 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47559 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47562 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47565 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47568 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47571 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47574 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47577 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47580 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47583 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47586 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47589 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47592 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47595 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47598 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47601 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47604 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47607 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47610 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47613 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47616 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47619 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47622 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47625 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47628 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47631 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47634 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47637 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47640 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47643 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47646 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47649 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47652 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47655 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47658 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47661 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47664 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47667 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47670 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47673 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47676 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47679 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47682 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47685 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47688 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47691 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47694 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47697 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47700 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47703 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47706 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47709 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47712 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47715 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47718 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47721 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47724 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47727 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47730 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47733 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47736 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47739 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47742 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47745 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47748 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47751 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47754 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47757 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47760 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47763 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47766 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47769 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47772 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47775 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47778 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47781 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47784 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47787 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47790 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47793 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47796 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47799 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47802 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47805 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47808 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47811 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47814 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47817 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47820 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47823 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47826 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47829 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47832 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47835 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47838 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47841 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47844 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47847 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47850 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47853 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47856 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47859 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47862 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47865 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47868 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47871 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47874 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47877 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47880 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47883 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47886 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47889 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47892 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47895 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47898 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47901 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47904 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47907 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47910 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47913 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47916 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47919 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47922 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47925 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47928 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47931 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47934 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47937 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47940 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47943 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47946 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47949 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47952 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47955 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47958 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47961 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47964 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47967 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47970 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47973 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47976 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47979 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47982 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47985 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47988 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47991 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47994 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47997 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48000 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48003 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48006 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48009 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48012 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48015 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48018 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48021 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48024 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48027 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48030 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48033 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48036 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48039 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48042 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48045 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48048 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48051 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48054 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48057 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48060 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48063 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48066 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48069 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48072 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48075 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48078 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48081 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48084 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48087 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48090 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48093 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48096 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48099 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48102 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48105 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48108 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48111 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48114 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48117 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48120 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48123 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48126 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48129 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48132 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48135 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48138 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48141 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48144 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48147 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48150 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48153 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48156 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48159 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48162 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48165 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48168 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48171 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48174 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48177 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48180 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48183 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48186 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48189 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48192 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48195 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48198 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48201 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48204 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48207 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48210 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48213 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48216 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48219 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48222 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48225 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48228 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48231 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48234 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48237 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48240 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48243 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48246 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48249 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48252 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48255 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48258 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48261 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48264 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48267 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48270 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48273 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48276 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48279 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48282 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48285 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48288 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48291 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48294 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48297 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48300 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48303 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48306 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48309 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48312 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48315 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48318 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48321 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48324 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48327 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48330 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48333 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48336 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48339 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48342 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48345 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48348 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48351 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48354 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48357 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48360 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48363 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48366 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48369 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48372 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48375 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48378 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48381 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48384 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48387 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48390 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48393 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48396 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48399 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48402 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48405 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48408 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48411 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48414 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48417 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48420 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48423 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48426 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48429 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48432 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48435 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48438 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48441 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48444 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48447 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48450 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48453 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48456 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48459 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48462 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48465 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48468 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48471 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48474 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48477 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48480 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48483 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48486 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48489 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48492 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48495 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48498 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48501 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48504 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48507 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48510 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48513 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48516 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48519 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48522 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48525 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48528 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48531 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48534 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48537 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48540 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48543 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48546 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48549 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48552 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48555 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48558 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48561 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48564 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48567 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48570 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48573 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48576 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48579 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48582 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48585 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48588 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48591 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48594 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48597 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48600 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48603 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48606 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48609 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48612 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48615 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48618 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48621 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48624 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48627 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48630 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48633 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48636 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48639 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48642 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48645 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48648 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48651 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48654 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48657 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48660 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48663 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48666 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48669 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48672 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48675 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48678 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48681 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48684 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48687 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48690 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48693 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48696 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48699 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48702 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48705 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48708 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48711 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48714 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48717 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48720 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48723 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48726 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48729 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48732 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48735 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48738 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48741 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48744 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48747 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48750 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48753 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48756 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48759 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48762 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48765 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48768 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48771 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48774 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48777 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48780 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48783 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48786 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48789 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48792 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48795 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48798 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48801 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48804 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48807 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48809 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48810 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48812 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48815 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48818 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48821 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48824 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48827 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48830 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48833 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48836 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48839 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48842 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48845 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48848 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48851 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48854 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48857 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48860 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48863 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48866 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48869 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48872 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48875 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48878 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48881 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48884 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48887 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48890 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48893 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48896 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48899 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48902 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48905 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48908 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48911 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48914 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48917 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48920 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48923 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48926 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48929 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48932 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48935 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48938 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48941 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48944 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48947 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48950 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48953 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48956 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48959 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48962 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48964 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48965 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48967 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48970 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48973 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48976 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48979 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48981 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48982 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
48983 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48984 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48985 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48986 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48987 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
48988 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
48989 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48990 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
48992 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48995 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48997 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
48998 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
48999 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49000 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49002 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49005 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49008 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49011 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49014 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49017 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49020 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49023 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49026 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49029 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49032 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49035 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49038 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49040 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49041 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49042 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49043 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49044 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49045 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49048 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49049 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49050 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49051 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49052 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49053 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49054 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49055 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49056 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49057 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49059 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49060 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49061 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49062 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49063 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49064 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49065 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49066 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49067 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49068 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49069 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49070 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49071 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49072 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49073 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49074 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49075 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49076 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49077 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49078 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49079 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49080 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49081 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49082 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49083 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49084 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49085 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49086 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49087 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49088 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49089 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49090 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49091 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49092 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49093 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49094 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49095 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49096 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49097 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49098 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49099 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49100 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49101 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49102 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49103 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49104 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49105 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49106 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49107 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49108 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49109 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49110 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49111 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49112 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49113 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49114 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49115 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49116 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49117 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49118 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49119 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49120 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49121 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49122 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49123 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49124 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49125 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49126 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49127 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49128 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49129 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49130 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49131 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49132 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49133 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49134 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49135 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49136 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49137 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49138 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49139 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49140 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49141 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49142 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49143 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49144 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49145 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49146 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49149 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49150 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49151 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49152 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49153 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49155 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49158 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49161 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49164 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49167 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49170 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49173 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49176 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49179 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49182 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49185 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49188 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49191 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49193 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49195 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49198 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49201 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49204 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49207 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49210 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49212 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49213 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49215 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49218 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49221 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49224 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49227 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49229 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49230 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49232 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49235 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49238 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49240 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49242 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49245 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49248 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49251 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49254 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49257 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49260 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49263 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49266 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49269 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49272 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49275 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49278 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49281 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49284 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49287 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49290 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49293 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49296 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49299 // Initialize threading, some globals and such
49303 // Although these are defined in __version__ they need to be here too so
49304 // that an assert can be done to ensure that the wxPython and the wxWindows
49306 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49307 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49308 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));