1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1654 wxPySwigInstance_Check
,
1663 #if !WXWIN_COMPATIBILITY_2_4
1664 #define wxHIDE_READONLY 0
1668 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1669 #define SWIG_From_int PyInt_FromLong
1674 enum wxHotkeyModifier
1682 #define wxEVT_HOTKEY 9999
1685 static const wxString
wxPyEmptyString(wxEmptyString
);
1686 static wxString
wxObject_GetClassName(wxObject
*self
){
1687 return self
->GetClassInfo()->GetClassName();
1689 static void wxObject_Destroy(wxObject
*self
){
1694 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1702 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1705 if (value
< min_value
) {
1707 PyErr_Format(PyExc_OverflowError
,
1708 "value %ld is less than '%s' minimum %ld",
1709 value
, errmsg
, min_value
);
1712 } else if (value
> max_value
) {
1714 PyErr_Format(PyExc_OverflowError
,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value
, errmsg
, max_value
);
1725 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1727 if (PyNumber_Check(obj
)) {
1728 if (val
) *val
= PyInt_AsLong(obj
);
1732 SWIG_type_error("number", obj
);
1738 #if INT_MAX != LONG_MAX
1740 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1742 const char* errmsg
= val
? "int" : (char*)0;
1744 if (SWIG_AsVal_long(obj
, &v
)) {
1745 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1746 if (val
) *val
= (int)(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 return SWIG_AsVal_long(obj
,(long*)val
);
1769 SWIG_As_int(PyObject
* obj
)
1772 if (!SWIG_AsVal_int(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier.
1776 memset((void*)&v
, 0, sizeof(int));
1783 SWIG_Check_int(PyObject
* obj
)
1785 return SWIG_AsVal_int(obj
, (int*)0);
1788 static PyObject
*wxSize_Get(wxSize
*self
){
1789 bool blocked
= wxPyBeginBlockThreads();
1790 PyObject
* tup
= PyTuple_New(2);
1791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1793 wxPyEndBlockThreads(blocked
);
1798 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1800 if (PyNumber_Check(obj
)) {
1801 if (val
) *val
= PyFloat_AsDouble(obj
);
1805 SWIG_type_error("number", obj
);
1811 SWIGINTERNSHORT
double
1812 SWIG_As_double(PyObject
* obj
)
1815 if (!SWIG_AsVal_double(obj
, &v
)) {
1817 this is needed to make valgrind/purify happier.
1819 memset((void*)&v
, 0, sizeof(double));
1826 SWIG_Check_double(PyObject
* obj
)
1828 return SWIG_AsVal_double(obj
, (double*)0);
1832 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1833 #define SWIG_From_double PyFloat_FromDouble
1836 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1840 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1841 bool blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1844 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1845 wxPyEndBlockThreads(blocked
);
1849 SWIGINTERNSHORT
long
1850 SWIG_As_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(long));
1864 SWIG_Check_long(PyObject
* obj
)
1866 return SWIG_AsVal_long(obj
, (long*)0);
1869 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1873 static PyObject
*wxPoint_Get(wxPoint
*self
){
1874 bool blocked
= wxPyBeginBlockThreads();
1875 PyObject
* tup
= PyTuple_New(2);
1876 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1877 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1878 wxPyEndBlockThreads(blocked
);
1881 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1884 self
->width
= width
;
1885 self
->height
= height
;
1887 static PyObject
*wxRect_Get(wxRect
*self
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 PyObject
* tup
= PyTuple_New(4);
1890 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1891 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1892 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1893 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1894 wxPyEndBlockThreads(blocked
);
1898 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1901 wxRect
dest(0,0,0,0);
1904 reg1
.Intersect(reg2
);
1905 dest
= reg1
.GetBox();
1907 if (dest
!= wxRect(0,0,0,0)) {
1908 bool blocked
= wxPyBeginBlockThreads();
1909 wxRect
* newRect
= new wxRect(dest
);
1910 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1911 wxPyEndBlockThreads(blocked
);
1919 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1925 } else if (target
== Py_None
) {
1929 if (!PyTuple_Check(target
)) {
1931 target
= PyTuple_New(1);
1932 PyTuple_SetItem(target
, 0, o2
);
1934 o3
= PyTuple_New(1);
1935 PyTuple_SetItem(o3
, 0, o
);
1938 target
= PySequence_Concat(o2
, o3
);
1946 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1950 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 PyObject
* tup
= PyTuple_New(2);
1953 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1954 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1955 wxPyEndBlockThreads(blocked
);
1959 #include "wx/wxPython/pyistream.h"
1961 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1962 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1964 return new wxPyInputStream(wxis
);
1969 SWIGINTERNSHORT PyObject
*
1970 SWIG_From_char(char c
)
1972 return PyString_FromStringAndSize(&c
,1);
1976 SWIGINTERNSHORT PyObject
*
1977 SWIG_From_unsigned_SS_long(unsigned long value
)
1979 return (value
> LONG_MAX
) ?
1980 PyLong_FromUnsignedLong(value
)
1981 : PyInt_FromLong((long)(value
));
1985 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1987 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1989 static swig_type_info
* pchar_info
= 0;
1991 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1992 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1993 if (cptr
) *cptr
= vptr
;
1994 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1998 if (PyString_Check(obj
)) {
2000 *cptr
= PyString_AS_STRING(obj
);
2002 *psize
= PyString_GET_SIZE(obj
) + 1;
2009 SWIG_type_error("char *", obj
);
2016 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2018 char* cptr
; size_t csize
;
2019 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2022 char x[5] = "hello";
2024 ie, assing the array using an extra '0' char.
2026 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2027 if (csize
<= size
) {
2029 if (csize
) memcpy(val
, cptr
, csize
);
2030 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2036 PyErr_Format(PyExc_TypeError
,
2037 "a char array of maximum size %lu is expected",
2038 (unsigned long) size
);
2045 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2047 const char* errmsg
= val
? "char" : (char*)0;
2049 if (SWIG_AsVal_long(obj
, &v
)) {
2050 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2051 if (val
) *val
= (char)(v
);
2058 return SWIG_AsCharArray(obj
, val
, 1);
2063 SWIGINTERNSHORT
char
2064 SWIG_As_char(PyObject
* obj
)
2067 if (!SWIG_AsVal_char(obj
, &v
)) {
2069 this is needed to make valgrind/purify happier.
2071 memset((void*)&v
, 0, sizeof(char));
2078 SWIG_Check_char(PyObject
* obj
)
2080 return SWIG_AsVal_char(obj
, (char*)0);
2084 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2085 #define SWIG_From_long PyInt_FromLong
2088 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2089 // We use only strings for the streams, not unicode
2090 PyObject
* str
= PyObject_Str(obj
);
2092 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2095 self
->Write(PyString_AS_STRING(str
),
2096 PyString_GET_SIZE(str
));
2100 #include "wx/wxPython/pyistream.h"
2103 class wxPyFileSystemHandler
: public wxFileSystemHandler
2106 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2108 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2109 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2110 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2111 DEC_PYCALLBACK_STRING__pure(FindNext
);
2113 wxString
GetProtocol(const wxString
& location
) {
2114 return wxFileSystemHandler::GetProtocol(location
);
2117 wxString
GetLeftLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetLeftLocation(location
);
2121 wxString
GetAnchor(const wxString
& location
) {
2122 return wxFileSystemHandler::GetAnchor(location
);
2125 wxString
GetRightLocation(const wxString
& location
) {
2126 return wxFileSystemHandler::GetRightLocation(location
);
2129 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2130 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2137 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2138 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2139 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2140 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2144 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2146 if (obj
== Py_True
) {
2147 if (val
) *val
= true;
2150 if (obj
== Py_False
) {
2151 if (val
) *val
= false;
2155 if (SWIG_AsVal_int(obj
, &res
)) {
2156 if (val
) *val
= res
? true : false;
2162 SWIG_type_error("bool", obj
);
2168 SWIGINTERNSHORT
bool
2169 SWIG_As_bool(PyObject
* obj
)
2172 if (!SWIG_AsVal_bool(obj
, &v
)) {
2174 this is needed to make valgrind/purify happier.
2176 memset((void*)&v
, 0, sizeof(bool));
2183 SWIG_Check_bool(PyObject
* obj
)
2185 return SWIG_AsVal_bool(obj
, (bool*)0);
2188 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2189 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2190 return fname
.GetFullPath();
2193 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2196 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2199 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2200 const wxBitmap
& bitmap
,
2202 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2205 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2207 if (! PyString_Check(data
)) {
2208 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2209 "Expected string object"));
2213 bool blocked
= wxPyBeginBlockThreads();
2214 void* ptr
= (void*)PyString_AsString(data
);
2215 size_t size
= PyString_Size(data
);
2216 wxPyEndBlockThreads(blocked
);
2218 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2222 #include "wx/wxPython/pyistream.h"
2226 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2229 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2230 SWIG_type_error("unsigned number", obj
);
2233 *val
= (unsigned long)v
;
2239 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2240 unsigned long max_value
,
2243 if (value
> max_value
) {
2245 PyErr_Format(PyExc_OverflowError
,
2246 "value %lu is greater than '%s' minimum %lu",
2247 value
, errmsg
, max_value
);
2256 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2258 const char* errmsg
= val
? "unsigned char" : (char*)0;
2260 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2261 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2262 if (val
) *val
= (unsigned char)(v
);
2271 SWIG_type_error(errmsg
, obj
);
2277 SWIGINTERNSHORT
unsigned char
2278 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2281 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2283 this is needed to make valgrind/purify happier.
2285 memset((void*)&v
, 0, sizeof(unsigned char));
2292 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2294 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2298 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2299 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2304 if (width
> 0 && height
> 0)
2305 return new wxImage(width
, height
, clear
);
2309 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2310 return new wxImage(bitmap
.ConvertToImage());
2312 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2313 // Copy the source data so the wxImage can clean it up later
2314 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2319 memcpy(copy
, data
, width
*height
*3);
2320 return new wxImage(width
, height
, copy
, false);
2322 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2323 // Copy the source data so the wxImage can clean it up later
2324 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2325 if (dcopy
== NULL
) {
2329 memcpy(dcopy
, data
, width
*height
*3);
2330 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2331 if (acopy
== NULL
) {
2335 memcpy(acopy
, alpha
, width
*height
);
2337 return new wxImage(width
, height
, dcopy
, acopy
, false);
2339 static wxSize
wxImage_GetSize(wxImage
*self
){
2340 wxSize
size(self
->GetWidth(), self
->GetHeight());
2343 static PyObject
*wxImage_GetData(wxImage
*self
){
2344 unsigned char* data
= self
->GetData();
2345 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2347 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2350 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2351 unsigned char* dataPtr
;
2353 if (! PyString_Check(data
)) {
2354 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2355 "Expected string object"));
2359 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2360 dataPtr
= (unsigned char*) malloc(len
);
2361 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2362 self
->SetData(dataPtr
);
2363 // wxImage takes ownership of dataPtr...
2365 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2366 unsigned char* data
= self
->GetData();
2367 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2369 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2372 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2373 unsigned char* buffer
;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2380 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2381 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2384 self
->SetData(buffer
);
2386 wxPyEndBlockThreads(blocked
);
2388 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2389 unsigned char* data
= self
->GetAlpha();
2393 int len
= self
->GetWidth() * self
->GetHeight();
2395 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2399 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2400 unsigned char* dataPtr
;
2402 if (! PyString_Check(data
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2407 size_t len
= self
->GetWidth() * self
->GetHeight();
2408 dataPtr
= (unsigned char*) malloc(len
);
2409 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2410 self
->SetAlpha(dataPtr
);
2411 // wxImage takes ownership of dataPtr...
2413 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2414 unsigned char* data
= self
->GetAlpha();
2415 int len
= self
->GetWidth() * self
->GetHeight();
2417 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2420 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2421 unsigned char* buffer
;
2424 bool blocked
= wxPyBeginBlockThreads();
2425 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2428 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2429 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2432 self
->SetAlpha(buffer
);
2434 wxPyEndBlockThreads(blocked
);
2437 SWIGINTERNSHORT
unsigned long
2438 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2441 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2443 this is needed to make valgrind/purify happier.
2445 memset((void*)&v
, 0, sizeof(unsigned long));
2452 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2454 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2457 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2458 wxBitmap
bitmap(*self
, depth
);
2461 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2462 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2463 wxBitmap
bitmap( mono
, 1 );
2466 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2467 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2468 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2470 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2474 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2475 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2476 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2477 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2478 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
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 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2532 #define SWIG_From_unsigned_SS_int SWIG_From_long
2535 /*@/opt/swig/share/swig/1.3.24/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();
2613 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2615 void wxApp_CleanUp() {
2620 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2624 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2626 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2631 SWIG_type_error("char *", obj
);
2637 SWIGINTERN PyObject
*
2638 SWIG_FromCharPtr(const char* cptr
)
2641 size_t size
= strlen(cptr
);
2642 if (size
> INT_MAX
) {
2643 return SWIG_NewPointerObj((char*)(cptr
),
2644 SWIG_TypeQuery("char *"), 0);
2647 return PyString_FromStringAndSize(cptr
, size
);
2649 return PyString_FromString(cptr
);
2660 // A dummy class that raises an exception if used...
2664 wxEventLoop() { wxPyRaiseNotImplemented(); }
2665 int Run() { return 0; }
2666 void Exit(int rc
= 0) {}
2667 bool Pending() const { return false; }
2668 bool Dispatch() { return false; }
2669 bool IsRunning() const { return false; }
2670 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2671 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2676 #include <wx/evtloop.h>
2682 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2683 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2684 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2685 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2686 wxWindowList
& list
= self
->GetChildren();
2687 return wxPy_ConvertList(&list
);
2689 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2691 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2696 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2703 static long wxWindow_GetHandle(wxWindow
*self
){
2704 return wxPyGetWinHandle(self
);
2706 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2707 self
->AssociateHandle((WXWidget
)handle
);
2710 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2711 return wxWindow::FindWindowById(id
, parent
);
2714 wxWindow
* wxFindWindowByName( const wxString
& name
,
2715 const wxWindow
*parent
= NULL
) {
2716 return wxWindow::FindWindowByName(name
, parent
);
2719 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2720 const wxWindow
*parent
= NULL
) {
2721 return wxWindow::FindWindowByLabel(label
, parent
);
2726 #include <wx/msw/private.h> // to get wxGetWindowId
2730 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2732 WXHWND hWnd
= (WXHWND
)_hWnd
;
2733 long id
= wxGetWindowId(hWnd
);
2734 wxWindow
* win
= new wxWindow
;
2735 parent
->AddChild(win
);
2736 win
->SetEventHandler(win
);
2739 win
->SubclassWin(hWnd
);
2740 win
->AdoptAttributesFromHWND();
2741 win
->SetupColours();
2744 wxPyRaiseNotImplemented();
2750 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2751 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2752 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2754 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2756 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2757 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2758 wxMenuItemList
& list
= self
->GetMenuItems();
2759 return wxPy_ConvertList(&list
);
2761 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2762 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2763 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2764 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2765 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2766 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2767 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2768 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2769 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2770 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2771 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2772 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2773 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2774 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2775 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2776 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2777 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2779 wxPyClientData
* data
= new wxPyClientData(clientData
);
2780 return self
->Append(item
, data
);
2782 return self
->Append(item
);
2784 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2786 wxPyClientData
* data
= new wxPyClientData(clientData
);
2787 return self
->Insert(item
, pos
, data
);
2789 return self
->Insert(item
, pos
);
2791 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2792 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2794 Py_INCREF(data
->m_obj
);
2801 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2802 wxPyClientData
* data
= new wxPyClientData(clientData
);
2803 self
->SetClientObject(n
, data
);
2807 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2808 wxPyUserData
* data
= NULL
;
2810 bool blocked
= wxPyBeginBlockThreads();
2811 data
= new wxPyUserData(userData
);
2812 wxPyEndBlockThreads(blocked
);
2814 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2816 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2817 wxPyUserData
* data
= NULL
;
2819 bool blocked
= wxPyBeginBlockThreads();
2820 data
= new wxPyUserData(userData
);
2821 wxPyEndBlockThreads(blocked
);
2823 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2825 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2826 wxPyUserData
* data
= NULL
;
2828 bool blocked
= wxPyBeginBlockThreads();
2829 data
= new wxPyUserData(userData
);
2830 wxPyEndBlockThreads(blocked
);
2832 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2837 SWIG_CheckDoubleInRange(double value
, double min_value
,
2838 double max_value
, const char* errmsg
)
2840 if (value
< min_value
) {
2842 PyErr_Format(PyExc_OverflowError
,
2843 "value %g is less than %s minimum %g",
2844 value
, errmsg
, min_value
);
2847 } else if (value
> max_value
) {
2849 PyErr_Format(PyExc_OverflowError
,
2850 "value %g is greater than %s maximum %g",
2851 value
, errmsg
, max_value
);
2860 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2862 const char* errmsg
= val
? "float" : (char*)0;
2864 if (SWIG_AsVal_double(obj
, &v
)) {
2865 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2866 if (val
) *val
= (float)(v
);
2875 SWIG_type_error(errmsg
, obj
);
2881 SWIGINTERNSHORT
float
2882 SWIG_As_float(PyObject
* obj
)
2885 if (!SWIG_AsVal_float(obj
, &v
)) {
2887 this is needed to make valgrind/purify happier.
2889 memset((void*)&v
, 0, sizeof(float));
2896 SWIG_Check_float(PyObject
* obj
)
2898 return SWIG_AsVal_float(obj
, (float*)0);
2902 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2903 #define SWIG_From_float PyFloat_FromDouble
2906 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2907 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2909 Py_INCREF(data
->m_obj
);
2917 // Figure out the type of the sizer item
2919 struct wxPySizerItemInfo
{
2921 : window(NULL
), sizer(NULL
), gotSize(false),
2922 size(wxDefaultSize
), gotPos(false), pos(-1)
2933 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2935 wxPySizerItemInfo info
;
2937 wxSize
* sizePtr
= &size
;
2939 // Find out what the type of the item is
2941 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2946 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2950 // try wxSize or (w,h)
2951 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2952 info
.size
= *sizePtr
;
2953 info
.gotSize
= true;
2957 if (checkIdx
&& PyInt_Check(item
)) {
2958 info
.pos
= PyInt_AsLong(item
);
2964 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2965 // no expected type, figure out what kind of error message to generate
2966 if ( !checkSize
&& !checkIdx
)
2967 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2968 else if ( checkSize
&& !checkIdx
)
2969 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2970 else if ( !checkSize
&& checkIdx
)
2971 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2973 // can this one happen?
2974 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2980 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2981 if (!self
->GetClientObject())
2982 self
->SetClientObject(new wxPyOORClientData(_self
));
2984 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2986 wxPyUserData
* data
= NULL
;
2987 bool blocked
= wxPyBeginBlockThreads();
2988 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2989 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2990 data
= new wxPyUserData(userData
);
2991 wxPyEndBlockThreads(blocked
);
2993 // Now call the real Add method if a valid item type was found
2995 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2996 else if ( info
.sizer
)
2997 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2998 else if (info
.gotSize
)
2999 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3000 proportion
, flag
, border
, data
);
3004 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3006 wxPyUserData
* data
= NULL
;
3007 bool blocked
= wxPyBeginBlockThreads();
3008 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3009 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3010 data
= new wxPyUserData(userData
);
3011 wxPyEndBlockThreads(blocked
);
3013 // Now call the real Insert method if a valid item type was found
3015 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3016 else if ( info
.sizer
)
3017 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3018 else if (info
.gotSize
)
3019 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3020 proportion
, flag
, border
, data
);
3024 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3026 wxPyUserData
* data
= NULL
;
3027 bool blocked
= wxPyBeginBlockThreads();
3028 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3029 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3030 data
= new wxPyUserData(userData
);
3031 wxPyEndBlockThreads(blocked
);
3033 // Now call the real Prepend method if a valid item type was found
3035 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3036 else if ( info
.sizer
)
3037 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3038 else if (info
.gotSize
)
3039 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3040 proportion
, flag
, border
, data
);
3044 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3045 bool blocked
= wxPyBeginBlockThreads();
3046 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3047 wxPyEndBlockThreads(blocked
);
3049 return self
->Remove(info
.window
);
3050 else if ( info
.sizer
)
3051 return self
->Remove(info
.sizer
);
3052 else if ( info
.gotPos
)
3053 return self
->Remove(info
.pos
);
3057 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3058 bool blocked
= wxPyBeginBlockThreads();
3059 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3060 wxPyEndBlockThreads(blocked
);
3062 return self
->Detach(info
.window
);
3063 else if ( info
.sizer
)
3064 return self
->Detach(info
.sizer
);
3065 else if ( info
.gotPos
)
3066 return self
->Detach(info
.pos
);
3070 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3071 bool blocked
= wxPyBeginBlockThreads();
3072 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3073 wxPyEndBlockThreads(blocked
);
3075 return self
->GetItem(info
.window
);
3076 else if ( info
.sizer
)
3077 return self
->GetItem(info
.sizer
);
3078 else if ( info
.gotPos
)
3079 return self
->GetItem(info
.pos
);
3083 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3084 bool blocked
= wxPyBeginBlockThreads();
3085 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3086 wxPyEndBlockThreads(blocked
);
3088 self
->SetItemMinSize(info
.window
, size
);
3089 else if ( info
.sizer
)
3090 self
->SetItemMinSize(info
.sizer
, size
);
3091 else if ( info
.gotPos
)
3092 self
->SetItemMinSize(info
.pos
, size
);
3094 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3095 wxSizerItemList
& list
= self
->GetChildren();
3096 return wxPy_ConvertList(&list
);
3098 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3099 bool blocked
= wxPyBeginBlockThreads();
3100 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3101 wxPyEndBlockThreads(blocked
);
3103 return self
->Show(info
.window
, show
, recursive
);
3104 else if ( info
.sizer
)
3105 return self
->Show(info
.sizer
, show
, recursive
);
3106 else if ( info
.gotPos
)
3107 return self
->Show(info
.pos
, show
);
3111 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3112 bool blocked
= wxPyBeginBlockThreads();
3113 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3114 wxPyEndBlockThreads(blocked
);
3116 return self
->IsShown(info
.window
);
3117 else if ( info
.sizer
)
3118 return self
->IsShown(info
.sizer
);
3119 else if ( info
.gotPos
)
3120 return self
->IsShown(info
.pos
);
3126 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3127 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3128 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3133 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3135 if (source
== Py_None
) {
3136 **obj
= wxGBPosition(-1,-1);
3139 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3142 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3144 if (source
== Py_None
) {
3145 **obj
= wxGBSpan(-1,-1);
3148 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3152 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3156 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3157 bool blocked
= wxPyBeginBlockThreads();
3158 PyObject
* tup
= PyTuple_New(2);
3159 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3160 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3161 wxPyEndBlockThreads(blocked
);
3164 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3165 self
->SetRowspan(rowspan
);
3166 self
->SetColspan(colspan
);
3168 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3169 bool blocked
= wxPyBeginBlockThreads();
3170 PyObject
* tup
= PyTuple_New(2);
3171 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3172 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3173 wxPyEndBlockThreads(blocked
);
3176 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3177 wxPyUserData
* data
= NULL
;
3179 bool blocked
= wxPyBeginBlockThreads();
3180 data
= new wxPyUserData(userData
);
3181 wxPyEndBlockThreads(blocked
);
3183 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3185 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3186 wxPyUserData
* data
= NULL
;
3188 bool blocked
= wxPyBeginBlockThreads();
3189 data
= new wxPyUserData(userData
);
3190 wxPyEndBlockThreads(blocked
);
3192 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3194 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3195 wxPyUserData
* data
= NULL
;
3197 bool blocked
= wxPyBeginBlockThreads();
3198 data
= new wxPyUserData(userData
);
3199 wxPyEndBlockThreads(blocked
);
3201 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3203 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3205 self
->GetEndPos(row
, col
);
3206 return wxGBPosition(row
, col
);
3208 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3210 wxPyUserData
* data
= NULL
;
3211 bool blocked
= wxPyBeginBlockThreads();
3212 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3213 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3214 data
= new wxPyUserData(userData
);
3215 wxPyEndBlockThreads(blocked
);
3217 // Now call the real Add method if a valid item type was found
3219 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3220 else if ( info
.sizer
)
3221 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3222 else if (info
.gotSize
)
3223 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3224 pos
, span
, flag
, border
, data
);
3232 static int _wrap_EmptyString_set(PyObject
*) {
3233 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3238 static PyObject
*_wrap_EmptyString_get(void) {
3243 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3245 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3252 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxObject
*arg1
= (wxObject
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3258 (char *) "self", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3263 if (SWIG_arg_fail(1)) SWIG_fail
;
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 result
= wxObject_GetClassName(arg1
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3284 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxObject
*arg1
= (wxObject
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3294 if (SWIG_arg_fail(1)) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 wxObject_Destroy(arg1
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 Py_INCREF(Py_None
); resultobj
= Py_None
;
3309 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3312 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3314 return Py_BuildValue((char *)"");
3316 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxSize
*arg1
= (wxSize
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3323 (char *) "self",(char *) "x", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3328 if (SWIG_arg_fail(1)) SWIG_fail
;
3330 arg2
= (int)(SWIG_As_int(obj1
));
3331 if (SWIG_arg_fail(2)) SWIG_fail
;
3333 if (arg1
) (arg1
)->x
= arg2
;
3335 Py_INCREF(Py_None
); resultobj
= Py_None
;
3342 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxSize
*arg1
= (wxSize
*) 0 ;
3346 PyObject
* obj0
= 0 ;
3348 (char *) "self", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail
;
3354 result
= (int) ((arg1
)->x
);
3357 resultobj
= SWIG_From_int((int)(result
));
3365 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxSize
*arg1
= (wxSize
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3370 PyObject
* obj1
= 0 ;
3372 (char *) "self",(char *) "y", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3377 if (SWIG_arg_fail(1)) SWIG_fail
;
3379 arg2
= (int)(SWIG_As_int(obj1
));
3380 if (SWIG_arg_fail(2)) SWIG_fail
;
3382 if (arg1
) (arg1
)->y
= arg2
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxSize
*arg1
= (wxSize
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 (char *) "self", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3402 if (SWIG_arg_fail(1)) SWIG_fail
;
3403 result
= (int) ((arg1
)->y
);
3406 resultobj
= SWIG_From_int((int)(result
));
3414 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 int arg1
= (int) 0 ;
3417 int arg2
= (int) 0 ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3422 (char *) "w",(char *) "h", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 arg1
= (int)(SWIG_As_int(obj0
));
3429 if (SWIG_arg_fail(1)) SWIG_fail
;
3434 arg2
= (int)(SWIG_As_int(obj1
));
3435 if (SWIG_arg_fail(2)) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3452 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxSize
*arg1
= (wxSize
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxSize
*arg1
= (wxSize
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3484 PyObject
* obj1
= 0 ;
3486 (char *) "self",(char *) "sz", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3491 if (SWIG_arg_fail(1)) SWIG_fail
;
3494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3512 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxSize
*arg1
= (wxSize
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3521 (char *) "self",(char *) "sz", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3526 if (SWIG_arg_fail(1)) SWIG_fail
;
3529 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3547 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 wxSize
*arg1
= (wxSize
*) 0 ;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "self",(char *) "sz", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3561 if (SWIG_arg_fail(1)) SWIG_fail
;
3564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3575 resultptr
= new wxSize((wxSize
&)(result
));
3576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3584 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxSize
*arg1
= (wxSize
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3591 PyObject
* obj1
= 0 ;
3593 (char *) "self",(char *) "sz", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail
;
3601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3612 resultptr
= new wxSize((wxSize
&)(result
));
3613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3621 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
*resultobj
;
3623 wxSize
*arg1
= (wxSize
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3629 (char *) "self",(char *) "sz", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3634 if (SWIG_arg_fail(1)) SWIG_fail
;
3637 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 (arg1
)->IncTo((wxSize
const &)*arg2
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 Py_INCREF(Py_None
); resultobj
= Py_None
;
3653 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxSize
*arg1
= (wxSize
*) 0 ;
3658 PyObject
* obj0
= 0 ;
3659 PyObject
* obj1
= 0 ;
3661 (char *) "self",(char *) "sz", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail
;
3669 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 (arg1
)->DecTo((wxSize
const &)*arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 Py_INCREF(Py_None
); resultobj
= Py_None
;
3685 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxSize
*arg1
= (wxSize
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3691 PyObject
* obj1
= 0 ;
3692 PyObject
* obj2
= 0 ;
3694 (char *) "self",(char *) "w",(char *) "h", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3699 if (SWIG_arg_fail(1)) SWIG_fail
;
3701 arg2
= (int)(SWIG_As_int(obj1
));
3702 if (SWIG_arg_fail(2)) SWIG_fail
;
3705 arg3
= (int)(SWIG_As_int(obj2
));
3706 if (SWIG_arg_fail(3)) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 (arg1
)->Set(arg2
,arg3
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 Py_INCREF(Py_None
); resultobj
= Py_None
;
3722 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxSize
*arg1
= (wxSize
*) 0 ;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3729 (char *) "self",(char *) "w", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3734 if (SWIG_arg_fail(1)) SWIG_fail
;
3736 arg2
= (int)(SWIG_As_int(obj1
));
3737 if (SWIG_arg_fail(2)) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 (arg1
)->SetWidth(arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxSize
*arg1
= (wxSize
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3760 (char *) "self",(char *) "h", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3765 if (SWIG_arg_fail(1)) SWIG_fail
;
3767 arg2
= (int)(SWIG_As_int(obj1
));
3768 if (SWIG_arg_fail(2)) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 (arg1
)->SetHeight(arg2
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 Py_INCREF(Py_None
); resultobj
= Py_None
;
3784 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxSize
*arg1
= (wxSize
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3790 (char *) "self", NULL
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3795 if (SWIG_arg_fail(1)) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_From_int((int)(result
));
3812 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxSize
*arg1
= (wxSize
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3818 (char *) "self", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3823 if (SWIG_arg_fail(1)) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 resultobj
= SWIG_From_int((int)(result
));
3840 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxSize
*arg1
= (wxSize
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3846 (char *) "self", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3851 if (SWIG_arg_fail(1)) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3868 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3870 wxSize
*arg1
= (wxSize
*) 0 ;
3873 PyObject
* obj0
= 0 ;
3874 PyObject
* obj1
= 0 ;
3876 (char *) "self",(char *) "size", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3881 if (SWIG_arg_fail(1)) SWIG_fail
;
3884 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxSize
*arg1
= (wxSize
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3906 (char *) "self", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3911 if (SWIG_arg_fail(1)) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (PyObject
*)wxSize_Get(arg1
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3926 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3931 return Py_BuildValue((char *)"");
3933 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3940 (char *) "self",(char *) "x", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3945 if (SWIG_arg_fail(1)) SWIG_fail
;
3947 arg2
= (double)(SWIG_As_double(obj1
));
3948 if (SWIG_arg_fail(2)) SWIG_fail
;
3950 if (arg1
) (arg1
)->x
= arg2
;
3952 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3963 PyObject
* obj0
= 0 ;
3965 (char *) "self", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3970 if (SWIG_arg_fail(1)) SWIG_fail
;
3971 result
= (double) ((arg1
)->x
);
3974 resultobj
= SWIG_From_double((double)(result
));
3982 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3986 PyObject
* obj0
= 0 ;
3987 PyObject
* obj1
= 0 ;
3989 (char *) "self",(char *) "y", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3994 if (SWIG_arg_fail(1)) SWIG_fail
;
3996 arg2
= (double)(SWIG_As_double(obj1
));
3997 if (SWIG_arg_fail(2)) SWIG_fail
;
3999 if (arg1
) (arg1
)->y
= arg2
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "self", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4019 if (SWIG_arg_fail(1)) SWIG_fail
;
4020 result
= (double) ((arg1
)->y
);
4023 resultobj
= SWIG_From_double((double)(result
));
4031 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 double arg1
= (double) 0.0 ;
4034 double arg2
= (double) 0.0 ;
4035 wxRealPoint
*result
;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4039 (char *) "x",(char *) "y", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4045 arg1
= (double)(SWIG_As_double(obj0
));
4046 if (SWIG_arg_fail(1)) SWIG_fail
;
4051 arg2
= (double)(SWIG_As_double(obj1
));
4052 if (SWIG_arg_fail(2)) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4069 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4074 (char *) "self", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4079 if (SWIG_arg_fail(1)) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 Py_INCREF(Py_None
); resultobj
= Py_None
;
4094 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4097 wxRealPoint
*arg2
= 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4103 (char *) "self",(char *) "pt", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail
;
4111 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4129 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4132 wxRealPoint
*arg2
= 0 ;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4138 (char *) "self",(char *) "pt", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4143 if (SWIG_arg_fail(1)) SWIG_fail
;
4146 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4164 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4167 wxRealPoint
*arg2
= 0 ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4173 (char *) "self",(char *) "pt", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4178 if (SWIG_arg_fail(1)) SWIG_fail
;
4181 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4191 wxRealPoint
* resultptr
;
4192 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4201 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4204 wxRealPoint
*arg2
= 0 ;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4210 (char *) "self",(char *) "pt", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4215 if (SWIG_arg_fail(1)) SWIG_fail
;
4218 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4228 wxRealPoint
* resultptr
;
4229 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4238 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4245 PyObject
* obj2
= 0 ;
4247 (char *) "self",(char *) "x",(char *) "y", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4252 if (SWIG_arg_fail(1)) SWIG_fail
;
4254 arg2
= (double)(SWIG_As_double(obj1
));
4255 if (SWIG_arg_fail(2)) SWIG_fail
;
4258 arg3
= (double)(SWIG_As_double(obj2
));
4259 if (SWIG_arg_fail(3)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 wxRealPoint_Set(arg1
,arg2
,arg3
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4279 PyObject
* obj0
= 0 ;
4281 (char *) "self", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4286 if (SWIG_arg_fail(1)) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4301 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4304 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4306 return Py_BuildValue((char *)"");
4308 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxPoint
*arg1
= (wxPoint
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4315 (char *) "self",(char *) "x", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail
;
4322 arg2
= (int)(SWIG_As_int(obj1
));
4323 if (SWIG_arg_fail(2)) SWIG_fail
;
4325 if (arg1
) (arg1
)->x
= arg2
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4334 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxPoint
*arg1
= (wxPoint
*) 0 ;
4338 PyObject
* obj0
= 0 ;
4340 (char *) "self", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 result
= (int) ((arg1
)->x
);
4349 resultobj
= SWIG_From_int((int)(result
));
4357 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxPoint
*arg1
= (wxPoint
*) 0 ;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4364 (char *) "self",(char *) "y", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4369 if (SWIG_arg_fail(1)) SWIG_fail
;
4371 arg2
= (int)(SWIG_As_int(obj1
));
4372 if (SWIG_arg_fail(2)) SWIG_fail
;
4374 if (arg1
) (arg1
)->y
= arg2
;
4376 Py_INCREF(Py_None
); resultobj
= Py_None
;
4383 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxPoint
*arg1
= (wxPoint
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4389 (char *) "self", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4394 if (SWIG_arg_fail(1)) SWIG_fail
;
4395 result
= (int) ((arg1
)->y
);
4398 resultobj
= SWIG_From_int((int)(result
));
4406 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 int arg1
= (int) 0 ;
4409 int arg2
= (int) 0 ;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4414 (char *) "x",(char *) "y", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4420 arg1
= (int)(SWIG_As_int(obj0
));
4421 if (SWIG_arg_fail(1)) SWIG_fail
;
4426 arg2
= (int)(SWIG_As_int(obj1
));
4427 if (SWIG_arg_fail(2)) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4444 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxPoint
*arg1
= (wxPoint
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4449 (char *) "self", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxPoint
*arg1
= (wxPoint
*) 0 ;
4475 PyObject
* obj0
= 0 ;
4476 PyObject
* obj1
= 0 ;
4478 (char *) "self",(char *) "pt", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4483 if (SWIG_arg_fail(1)) SWIG_fail
;
4486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4504 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxPoint
*arg1
= (wxPoint
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4513 (char *) "self",(char *) "pt", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4518 if (SWIG_arg_fail(1)) SWIG_fail
;
4521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4539 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxPoint
*arg1
= (wxPoint
*) 0 ;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4548 (char *) "self",(char *) "pt", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4553 if (SWIG_arg_fail(1)) SWIG_fail
;
4556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4566 wxPoint
* resultptr
;
4567 resultptr
= new wxPoint((wxPoint
&)(result
));
4568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4576 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxPoint
*arg1
= (wxPoint
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4585 (char *) "self",(char *) "pt", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4603 wxPoint
* resultptr
;
4604 resultptr
= new wxPoint((wxPoint
&)(result
));
4605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4613 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxPoint
*arg1
= (wxPoint
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4620 PyObject
* obj1
= 0 ;
4622 (char *) "self",(char *) "pt", NULL
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4627 if (SWIG_arg_fail(1)) SWIG_fail
;
4630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4636 result
= (wxPoint
*) &_result_ref
;
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4649 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxPoint
*arg1
= (wxPoint
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4658 (char *) "self",(char *) "pt", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4663 if (SWIG_arg_fail(1)) SWIG_fail
;
4666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4672 result
= (wxPoint
*) &_result_ref
;
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4685 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxPoint
*arg1
= (wxPoint
*) 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4694 (char *) "self",(char *) "x",(char *) "y", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail
;
4701 arg2
= (long)(SWIG_As_long(obj1
));
4702 if (SWIG_arg_fail(2)) SWIG_fail
;
4705 arg3
= (long)(SWIG_As_long(obj2
));
4706 if (SWIG_arg_fail(3)) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 wxPoint_Set(arg1
,arg2
,arg3
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxPoint
*arg1
= (wxPoint
*) 0 ;
4726 PyObject
* obj0
= 0 ;
4728 (char *) "self", NULL
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4733 if (SWIG_arg_fail(1)) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (PyObject
*)wxPoint_Get(arg1
);
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4748 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4751 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4753 return Py_BuildValue((char *)"");
4755 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 int arg1
= (int) 0 ;
4758 int arg2
= (int) 0 ;
4759 int arg3
= (int) 0 ;
4760 int arg4
= (int) 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 PyObject
* obj2
= 0 ;
4765 PyObject
* obj3
= 0 ;
4767 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4773 arg1
= (int)(SWIG_As_int(obj0
));
4774 if (SWIG_arg_fail(1)) SWIG_fail
;
4779 arg2
= (int)(SWIG_As_int(obj1
));
4780 if (SWIG_arg_fail(2)) SWIG_fail
;
4785 arg3
= (int)(SWIG_As_int(obj2
));
4786 if (SWIG_arg_fail(3)) SWIG_fail
;
4791 arg4
= (int)(SWIG_As_int(obj3
));
4792 if (SWIG_arg_fail(4)) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4809 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4819 (char *) "topLeft",(char *) "bottomRight", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4825 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4845 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "pos",(char *) "size", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4865 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4881 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4886 PyObject
* obj0
= 0 ;
4888 (char *) "size", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4894 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4910 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxRect
*arg1
= (wxRect
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4915 (char *) "self", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4920 if (SWIG_arg_fail(1)) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxRect
*arg1
= (wxRect
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4941 (char *) "self", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4946 if (SWIG_arg_fail(1)) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (int)((wxRect
const *)arg1
)->GetX();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_From_int((int)(result
));
4963 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxRect
*arg1
= (wxRect
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4970 (char *) "self",(char *) "x", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4975 if (SWIG_arg_fail(1)) SWIG_fail
;
4977 arg2
= (int)(SWIG_As_int(obj1
));
4978 if (SWIG_arg_fail(2)) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxRect
*arg1
= (wxRect
*) 0 ;
4998 PyObject
* obj0
= 0 ;
5000 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5005 if (SWIG_arg_fail(1)) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (int)(arg1
)->GetY();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_From_int((int)(result
));
5022 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxRect
*arg1
= (wxRect
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5029 (char *) "self",(char *) "y", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5034 if (SWIG_arg_fail(1)) SWIG_fail
;
5036 arg2
= (int)(SWIG_As_int(obj1
));
5037 if (SWIG_arg_fail(2)) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 Py_INCREF(Py_None
); resultobj
= Py_None
;
5053 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxRect
*arg1
= (wxRect
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "self", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_From_int((int)(result
));
5081 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxRect
*arg1
= (wxRect
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5088 (char *) "self",(char *) "w", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5093 if (SWIG_arg_fail(1)) SWIG_fail
;
5095 arg2
= (int)(SWIG_As_int(obj1
));
5096 if (SWIG_arg_fail(2)) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 (arg1
)->SetWidth(arg2
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 Py_INCREF(Py_None
); resultobj
= Py_None
;
5112 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxRect
*arg1
= (wxRect
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5118 (char *) "self", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_From_int((int)(result
));
5140 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxRect
*arg1
= (wxRect
*) 0 ;
5144 PyObject
* obj0
= 0 ;
5145 PyObject
* obj1
= 0 ;
5147 (char *) "self",(char *) "h", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5152 if (SWIG_arg_fail(1)) SWIG_fail
;
5154 arg2
= (int)(SWIG_As_int(obj1
));
5155 if (SWIG_arg_fail(2)) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 (arg1
)->SetHeight(arg2
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 Py_INCREF(Py_None
); resultobj
= Py_None
;
5171 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxRect
*arg1
= (wxRect
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5177 (char *) "self", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5182 if (SWIG_arg_fail(1)) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= ((wxRect
const *)arg1
)->GetPosition();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5191 wxPoint
* resultptr
;
5192 resultptr
= new wxPoint((wxPoint
&)(result
));
5193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5201 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxRect
*arg1
= (wxRect
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj1
= 0 ;
5209 (char *) "self",(char *) "p", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5214 if (SWIG_arg_fail(1)) SWIG_fail
;
5217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 Py_INCREF(Py_None
); resultobj
= Py_None
;
5233 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxRect
*arg1
= (wxRect
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "self", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5244 if (SWIG_arg_fail(1)) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= ((wxRect
const *)arg1
)->GetSize();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5254 resultptr
= new wxSize((wxSize
&)(result
));
5255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5263 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxRect
*arg1
= (wxRect
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5269 PyObject
* obj1
= 0 ;
5271 (char *) "self",(char *) "s", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5276 if (SWIG_arg_fail(1)) SWIG_fail
;
5279 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 (arg1
)->SetSize((wxSize
const &)*arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 Py_INCREF(Py_None
); resultobj
= Py_None
;
5295 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxRect
*arg1
= (wxRect
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5301 (char *) "self", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5306 if (SWIG_arg_fail(1)) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 wxPoint
* resultptr
;
5316 resultptr
= new wxPoint((wxPoint
&)(result
));
5317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5325 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxRect
*arg1
= (wxRect
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5333 (char *) "self",(char *) "p", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5338 if (SWIG_arg_fail(1)) SWIG_fail
;
5341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 Py_INCREF(Py_None
); resultobj
= Py_None
;
5357 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxRect
*arg1
= (wxRect
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5363 (char *) "self", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5368 if (SWIG_arg_fail(1)) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 wxPoint
* resultptr
;
5378 resultptr
= new wxPoint((wxPoint
&)(result
));
5379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5387 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
;
5389 wxRect
*arg1
= (wxRect
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5395 (char *) "self",(char *) "p", NULL
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5400 if (SWIG_arg_fail(1)) SWIG_fail
;
5403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxRect
*arg1
= (wxRect
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5425 (char *) "self", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5430 if (SWIG_arg_fail(1)) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= SWIG_From_int((int)(result
));
5447 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxRect
*arg1
= (wxRect
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5453 (char *) "self", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5458 if (SWIG_arg_fail(1)) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (int)((wxRect
const *)arg1
)->GetTop();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_From_int((int)(result
));
5475 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxRect
*arg1
= (wxRect
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "self", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5486 if (SWIG_arg_fail(1)) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= SWIG_From_int((int)(result
));
5503 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxRect
*arg1
= (wxRect
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5514 if (SWIG_arg_fail(1)) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (int)((wxRect
const *)arg1
)->GetRight();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= SWIG_From_int((int)(result
));
5531 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxRect
*arg1
= (wxRect
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5538 (char *) "self",(char *) "left", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5543 if (SWIG_arg_fail(1)) SWIG_fail
;
5545 arg2
= (int)(SWIG_As_int(obj1
));
5546 if (SWIG_arg_fail(2)) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 (arg1
)->SetLeft(arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 Py_INCREF(Py_None
); resultobj
= Py_None
;
5562 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxRect
*arg1
= (wxRect
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "right", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5574 if (SWIG_arg_fail(1)) SWIG_fail
;
5576 arg2
= (int)(SWIG_As_int(obj1
));
5577 if (SWIG_arg_fail(2)) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetRight(arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxRect
*arg1
= (wxRect
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "top", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5605 if (SWIG_arg_fail(1)) SWIG_fail
;
5607 arg2
= (int)(SWIG_As_int(obj1
));
5608 if (SWIG_arg_fail(2)) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 (arg1
)->SetTop(arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 Py_INCREF(Py_None
); resultobj
= Py_None
;
5624 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxRect
*arg1
= (wxRect
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5631 (char *) "self",(char *) "bottom", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail
;
5638 arg2
= (int)(SWIG_As_int(obj1
));
5639 if (SWIG_arg_fail(2)) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 (arg1
)->SetBottom(arg2
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 Py_INCREF(Py_None
); resultobj
= Py_None
;
5655 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxRect
*arg1
= (wxRect
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5663 PyObject
* obj2
= 0 ;
5665 (char *) "self",(char *) "dx",(char *) "dy", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail
;
5672 arg2
= (int)(SWIG_As_int(obj1
));
5673 if (SWIG_arg_fail(2)) SWIG_fail
;
5676 arg3
= (int)(SWIG_As_int(obj2
));
5677 if (SWIG_arg_fail(3)) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5683 result
= (wxRect
*) &_result_ref
;
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5696 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxRect
*arg1
= (wxRect
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5703 PyObject
* obj1
= 0 ;
5704 PyObject
* obj2
= 0 ;
5706 (char *) "self",(char *) "dx",(char *) "dy", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5711 if (SWIG_arg_fail(1)) SWIG_fail
;
5713 arg2
= (int)(SWIG_As_int(obj1
));
5714 if (SWIG_arg_fail(2)) SWIG_fail
;
5717 arg3
= (int)(SWIG_As_int(obj2
));
5718 if (SWIG_arg_fail(3)) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5724 result
= (wxRect
*) &_result_ref
;
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5737 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxRect
*arg1
= (wxRect
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5744 PyObject
* obj2
= 0 ;
5746 (char *) "self",(char *) "dx",(char *) "dy", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5753 arg2
= (int)(SWIG_As_int(obj1
));
5754 if (SWIG_arg_fail(2)) SWIG_fail
;
5757 arg3
= (int)(SWIG_As_int(obj2
));
5758 if (SWIG_arg_fail(3)) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->Offset(arg2
,arg3
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxRect
*arg1
= (wxRect
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "pt", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5787 if (SWIG_arg_fail(1)) SWIG_fail
;
5790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 (arg1
)->Offset((wxPoint
const &)*arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 Py_INCREF(Py_None
); resultobj
= Py_None
;
5806 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxRect
*arg1
= (wxRect
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5815 (char *) "self",(char *) "rect", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5820 if (SWIG_arg_fail(1)) SWIG_fail
;
5823 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5834 resultptr
= new wxRect((wxRect
&)(result
));
5835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5843 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxRect
*arg1
= (wxRect
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5852 (char *) "self",(char *) "rect", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail
;
5860 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5871 resultptr
= new wxRect((wxRect
&)(result
));
5872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5880 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxRect
*arg1
= (wxRect
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5889 (char *) "self",(char *) "rect", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail
;
5897 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5908 resultptr
= new wxRect((wxRect
&)(result
));
5909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5917 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxRect
*arg1
= (wxRect
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5926 (char *) "self",(char *) "rect", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5931 if (SWIG_arg_fail(1)) SWIG_fail
;
5934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5940 result
= (wxRect
*) &_result_ref
;
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5953 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxRect
*arg1
= (wxRect
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5960 PyObject
* obj1
= 0 ;
5962 (char *) "self",(char *) "rect", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5967 if (SWIG_arg_fail(1)) SWIG_fail
;
5970 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxRect
*arg1
= (wxRect
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "self",(char *) "rect", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6002 if (SWIG_arg_fail(1)) SWIG_fail
;
6005 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6023 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxRect
*arg1
= (wxRect
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6031 PyObject
* obj2
= 0 ;
6033 (char *) "self",(char *) "x",(char *) "y", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6038 if (SWIG_arg_fail(1)) SWIG_fail
;
6040 arg2
= (int)(SWIG_As_int(obj1
));
6041 if (SWIG_arg_fail(2)) SWIG_fail
;
6044 arg3
= (int)(SWIG_As_int(obj2
));
6045 if (SWIG_arg_fail(3)) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxRect
*arg1
= (wxRect
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6072 (char *) "self",(char *) "pt", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6077 if (SWIG_arg_fail(1)) SWIG_fail
;
6080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6098 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxRect
*arg1
= (wxRect
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6107 (char *) "self",(char *) "rect", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6112 if (SWIG_arg_fail(1)) SWIG_fail
;
6115 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6133 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxRect
*arg1
= (wxRect
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6140 (char *) "self",(char *) "x", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6147 arg2
= (int)(SWIG_As_int(obj1
));
6148 if (SWIG_arg_fail(2)) SWIG_fail
;
6150 if (arg1
) (arg1
)->x
= arg2
;
6152 Py_INCREF(Py_None
); resultobj
= Py_None
;
6159 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxRect
*arg1
= (wxRect
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6165 (char *) "self", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6170 if (SWIG_arg_fail(1)) SWIG_fail
;
6171 result
= (int) ((arg1
)->x
);
6174 resultobj
= SWIG_From_int((int)(result
));
6182 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxRect
*arg1
= (wxRect
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6189 (char *) "self",(char *) "y", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6194 if (SWIG_arg_fail(1)) SWIG_fail
;
6196 arg2
= (int)(SWIG_As_int(obj1
));
6197 if (SWIG_arg_fail(2)) SWIG_fail
;
6199 if (arg1
) (arg1
)->y
= arg2
;
6201 Py_INCREF(Py_None
); resultobj
= Py_None
;
6208 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxRect
*arg1
= (wxRect
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "self", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail
;
6220 result
= (int) ((arg1
)->y
);
6223 resultobj
= SWIG_From_int((int)(result
));
6231 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxRect
*arg1
= (wxRect
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6238 (char *) "self",(char *) "width", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail
;
6245 arg2
= (int)(SWIG_As_int(obj1
));
6246 if (SWIG_arg_fail(2)) SWIG_fail
;
6248 if (arg1
) (arg1
)->width
= arg2
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxRect
*arg1
= (wxRect
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6263 (char *) "self", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6268 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 result
= (int) ((arg1
)->width
);
6272 resultobj
= SWIG_From_int((int)(result
));
6280 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxRect
*arg1
= (wxRect
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6285 PyObject
* obj1
= 0 ;
6287 (char *) "self",(char *) "height", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6292 if (SWIG_arg_fail(1)) SWIG_fail
;
6294 arg2
= (int)(SWIG_As_int(obj1
));
6295 if (SWIG_arg_fail(2)) SWIG_fail
;
6297 if (arg1
) (arg1
)->height
= arg2
;
6299 Py_INCREF(Py_None
); resultobj
= Py_None
;
6306 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxRect
*arg1
= (wxRect
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6312 (char *) "self", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6317 if (SWIG_arg_fail(1)) SWIG_fail
;
6318 result
= (int) ((arg1
)->height
);
6321 resultobj
= SWIG_From_int((int)(result
));
6329 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxRect
*arg1
= (wxRect
*) 0 ;
6332 int arg2
= (int) 0 ;
6333 int arg3
= (int) 0 ;
6334 int arg4
= (int) 0 ;
6335 int arg5
= (int) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6339 PyObject
* obj3
= 0 ;
6340 PyObject
* obj4
= 0 ;
6342 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6347 if (SWIG_arg_fail(1)) SWIG_fail
;
6350 arg2
= (int)(SWIG_As_int(obj1
));
6351 if (SWIG_arg_fail(2)) SWIG_fail
;
6356 arg3
= (int)(SWIG_As_int(obj2
));
6357 if (SWIG_arg_fail(3)) SWIG_fail
;
6362 arg4
= (int)(SWIG_As_int(obj3
));
6363 if (SWIG_arg_fail(4)) SWIG_fail
;
6368 arg5
= (int)(SWIG_As_int(obj4
));
6369 if (SWIG_arg_fail(5)) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 Py_INCREF(Py_None
); resultobj
= Py_None
;
6386 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxRect
*arg1
= (wxRect
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6392 (char *) "self", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6397 if (SWIG_arg_fail(1)) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= (PyObject
*)wxRect_Get(arg1
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6412 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6415 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6417 return Py_BuildValue((char *)"");
6419 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxRect
*arg1
= (wxRect
*) 0 ;
6422 wxRect
*arg2
= (wxRect
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6427 (char *) "r1",(char *) "r2", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6432 if (SWIG_arg_fail(1)) SWIG_fail
;
6433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6434 if (SWIG_arg_fail(2)) SWIG_fail
;
6436 if (!wxPyCheckForApp()) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6450 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 double arg1
= (double) 0.0 ;
6453 double arg2
= (double) 0.0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "x",(char *) "y", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6464 arg1
= (double)(SWIG_As_double(obj0
));
6465 if (SWIG_arg_fail(1)) SWIG_fail
;
6470 arg2
= (double)(SWIG_As_double(obj1
));
6471 if (SWIG_arg_fail(2)) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6488 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxPoint2D
*arg1
= 0 ;
6493 PyObject
* obj0
= 0 ;
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6501 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6517 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6522 PyObject
* obj0
= 0 ;
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6530 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6546 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6549 int *arg2
= (int *) 0 ;
6550 int *arg3
= (int *) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6561 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 Py_INCREF(Py_None
); resultobj
= Py_None
;
6573 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6574 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6575 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6576 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6583 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6586 int *arg2
= (int *) 0 ;
6587 int *arg3
= (int *) 0 ;
6592 PyObject
* obj0
= 0 ;
6594 (char *) "self", NULL
6597 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6598 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6611 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6612 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6613 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6620 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_From_double((double)(result
));
6648 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6654 (char *) "self", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_From_double((double)(result
));
6676 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6683 (char *) "self",(char *) "length", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 arg2
= (double)(SWIG_As_double(obj1
));
6691 if (SWIG_arg_fail(2)) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 (arg1
)->SetVectorLength(arg2
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 Py_INCREF(Py_None
); resultobj
= Py_None
;
6707 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6714 (char *) "self",(char *) "degrees", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6721 arg2
= (double)(SWIG_As_double(obj1
));
6722 if (SWIG_arg_fail(2)) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->SetVectorAngle(arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6741 wxPoint2D
*arg2
= 0 ;
6744 PyObject
* obj0
= 0 ;
6745 PyObject
* obj1
= 0 ;
6747 (char *) "self",(char *) "pt", NULL
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6752 if (SWIG_arg_fail(1)) SWIG_fail
;
6755 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= SWIG_From_double((double)(result
));
6773 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6776 wxPoint2D
*arg2
= 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6782 (char *) "self",(char *) "pt", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail
;
6790 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_From_double((double)(result
));
6808 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6811 wxPoint2D
*arg2
= 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6817 (char *) "self",(char *) "vec", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6822 if (SWIG_arg_fail(1)) SWIG_fail
;
6825 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_From_double((double)(result
));
6843 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6846 wxPoint2D
*arg2
= 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 (char *) "self",(char *) "vec", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6857 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_From_double((double)(result
));
6878 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "self", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6889 if (SWIG_arg_fail(1)) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (arg1
)->operator -();
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 wxPoint2D
* resultptr
;
6899 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6908 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6911 wxPoint2D
*arg2
= 0 ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "pt", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6922 if (SWIG_arg_fail(1)) SWIG_fail
;
6925 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6931 result
= (wxPoint2D
*) &_result_ref
;
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6944 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6947 wxPoint2D
*arg2
= 0 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6953 (char *) "self",(char *) "pt", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6958 if (SWIG_arg_fail(1)) SWIG_fail
;
6961 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6967 result
= (wxPoint2D
*) &_result_ref
;
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6980 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6983 wxPoint2D
*arg2
= 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6989 (char *) "self",(char *) "pt", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6994 if (SWIG_arg_fail(1)) SWIG_fail
;
6997 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7003 result
= (wxPoint2D
*) &_result_ref
;
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7016 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7019 wxPoint2D
*arg2
= 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7025 (char *) "self",(char *) "pt", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7030 if (SWIG_arg_fail(1)) SWIG_fail
;
7033 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7039 result
= (wxPoint2D
*) &_result_ref
;
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7052 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7055 wxPoint2D
*arg2
= 0 ;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7061 (char *) "self",(char *) "pt", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7066 if (SWIG_arg_fail(1)) SWIG_fail
;
7069 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7087 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7090 wxPoint2D
*arg2
= 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "self",(char *) "pt", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail
;
7104 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7122 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7129 (char *) "self",(char *) "m_x", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7134 if (SWIG_arg_fail(1)) SWIG_fail
;
7136 arg2
= (double)(SWIG_As_double(obj1
));
7137 if (SWIG_arg_fail(2)) SWIG_fail
;
7139 if (arg1
) (arg1
)->m_x
= arg2
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7154 (char *) "self", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail
;
7160 result
= (double) ((arg1
)->m_x
);
7163 resultobj
= SWIG_From_double((double)(result
));
7171 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7175 PyObject
* obj0
= 0 ;
7176 PyObject
* obj1
= 0 ;
7178 (char *) "self",(char *) "m_y", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7185 arg2
= (double)(SWIG_As_double(obj1
));
7186 if (SWIG_arg_fail(2)) SWIG_fail
;
7188 if (arg1
) (arg1
)->m_y
= arg2
;
7190 Py_INCREF(Py_None
); resultobj
= Py_None
;
7197 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail
;
7209 result
= (double) ((arg1
)->m_y
);
7212 resultobj
= SWIG_From_double((double)(result
));
7220 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7223 double arg2
= (double) 0 ;
7224 double arg3
= (double) 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7227 PyObject
* obj2
= 0 ;
7229 (char *) "self",(char *) "x",(char *) "y", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7234 if (SWIG_arg_fail(1)) SWIG_fail
;
7237 arg2
= (double)(SWIG_As_double(obj1
));
7238 if (SWIG_arg_fail(2)) SWIG_fail
;
7243 arg3
= (double)(SWIG_As_double(obj2
));
7244 if (SWIG_arg_fail(3)) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 wxPoint2D_Set(arg1
,arg2
,arg3
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7267 (char *) "self", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7287 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7290 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7292 return Py_BuildValue((char *)"");
7294 static int _wrap_DefaultPosition_set(PyObject
*) {
7295 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7300 static PyObject
*_wrap_DefaultPosition_get(void) {
7303 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7308 static int _wrap_DefaultSize_set(PyObject
*) {
7309 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7314 static PyObject
*_wrap_DefaultSize_get(void) {
7317 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7322 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 PyObject
*arg1
= (PyObject
*) 0 ;
7325 wxPyInputStream
*result
;
7326 PyObject
* obj0
= 0 ;
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7347 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(1)) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "self", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "self", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7433 if (SWIG_arg_fail(1)) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (bool)(arg1
)->eof();
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7450 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7453 int arg2
= (int) -1 ;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7458 (char *) "self",(char *) "size", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7463 if (SWIG_arg_fail(1)) SWIG_fail
;
7466 arg2
= (int)(SWIG_As_int(obj1
));
7467 if (SWIG_arg_fail(2)) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (PyObject
*)(arg1
)->read(arg2
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7484 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7487 int arg2
= (int) -1 ;
7489 PyObject
* obj0
= 0 ;
7490 PyObject
* obj1
= 0 ;
7492 (char *) "self",(char *) "size", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7497 if (SWIG_arg_fail(1)) SWIG_fail
;
7500 arg2
= (int)(SWIG_As_int(obj1
));
7501 if (SWIG_arg_fail(2)) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 result
= (PyObject
*)(arg1
)->readline(arg2
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7518 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7520 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7521 int arg2
= (int) -1 ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7526 (char *) "self",(char *) "sizehint", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail
;
7534 arg2
= (int)(SWIG_As_int(obj1
));
7535 if (SWIG_arg_fail(2)) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7552 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7556 int arg3
= (int) 0 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7559 PyObject
* obj2
= 0 ;
7561 (char *) "self",(char *) "offset",(char *) "whence", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7566 if (SWIG_arg_fail(1)) SWIG_fail
;
7568 arg2
= (int)(SWIG_As_int(obj1
));
7569 if (SWIG_arg_fail(2)) SWIG_fail
;
7573 arg3
= (int)(SWIG_As_int(obj2
));
7574 if (SWIG_arg_fail(3)) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 (arg1
)->seek(arg2
,arg3
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 Py_INCREF(Py_None
); resultobj
= Py_None
;
7591 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "self", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7602 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (int)(arg1
)->tell();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SWIG_From_int((int)(result
));
7619 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "self", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (char)(arg1
)->Peek();
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_From_char((char)(result
));
7647 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "self", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7658 if (SWIG_arg_fail(1)) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (char)(arg1
)->GetC();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_From_char((char)(result
));
7675 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7681 (char *) "self", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7686 if (SWIG_arg_fail(1)) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (size_t)(arg1
)->LastRead();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7703 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7707 PyObject
* obj0
= 0 ;
7709 (char *) "self", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7714 if (SWIG_arg_fail(1)) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)(arg1
)->CanRead();
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7731 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7737 (char *) "self", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (bool)(arg1
)->Eof();
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7759 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7767 (char *) "self",(char *) "c", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7772 if (SWIG_arg_fail(1)) SWIG_fail
;
7774 arg2
= (char)(SWIG_As_char(obj1
));
7775 if (SWIG_arg_fail(2)) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (bool)(arg1
)->Ungetch(arg2
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7793 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7797 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7803 (char *) "self",(char *) "pos",(char *) "mode", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail
;
7810 arg2
= (long)(SWIG_As_long(obj1
));
7811 if (SWIG_arg_fail(2)) SWIG_fail
;
7815 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7816 if (SWIG_arg_fail(3)) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_From_long((long)(result
));
7835 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7841 (char *) "self", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7846 if (SWIG_arg_fail(1)) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (long)(arg1
)->TellI();
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_From_long((long)(result
));
7863 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7866 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7868 return Py_BuildValue((char *)"");
7870 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7873 PyObject
*arg2
= (PyObject
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7877 (char *) "self",(char *) "obj", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxOutputStream_write(arg1
,arg2
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 Py_INCREF(Py_None
); resultobj
= Py_None
;
7898 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7901 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7903 return Py_BuildValue((char *)"");
7905 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7908 wxString
*arg2
= 0 ;
7909 wxString
*arg3
= 0 ;
7910 wxString
*arg4
= 0 ;
7913 wxPyInputStream
*temp1
;
7915 bool temp2
= false ;
7916 bool temp3
= false ;
7917 bool temp4
= false ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7920 PyObject
* obj2
= 0 ;
7921 PyObject
* obj3
= 0 ;
7922 PyObject
* obj4
= 0 ;
7924 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7929 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7930 arg1
= temp1
->m_wxis
;
7933 PyErr_Clear(); // clear the failure of the wxPyConvert above
7934 arg1
= wxPyCBInputStream_create(obj0
, false);
7936 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7943 arg2
= wxString_in_helper(obj1
);
7944 if (arg2
== NULL
) SWIG_fail
;
7948 arg3
= wxString_in_helper(obj2
);
7949 if (arg3
== NULL
) SWIG_fail
;
7953 arg4
= wxString_in_helper(obj3
);
7954 if (arg4
== NULL
) SWIG_fail
;
7959 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7960 if (SWIG_arg_fail(5)) SWIG_fail
;
7962 SWIG_null_ref("wxDateTime");
7964 if (SWIG_arg_fail(5)) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= wxPyMake_wxObject(result
, 1);
8015 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8025 if (SWIG_arg_fail(1)) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8043 wxInputStream
*result
;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "self", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(1)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (wxInputStream
*)(arg1
)->GetStream();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8060 wxPyInputStream
* _ptr
= NULL
;
8063 _ptr
= new wxPyInputStream(result
);
8065 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8073 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "self", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8089 result
= (wxString
*) &_result_ref
;
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8099 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8108 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8119 if (SWIG_arg_fail(1)) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 wxString
const &_result_ref
= (arg1
)->GetLocation();
8124 result
= (wxString
*) &_result_ref
;
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8143 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8149 (char *) "self", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8159 result
= (wxString
*) &_result_ref
;
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8178 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "self", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8189 if (SWIG_arg_fail(1)) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (arg1
)->GetModificationTime();
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8198 wxDateTime
* resultptr
;
8199 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8208 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8211 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8213 return Py_BuildValue((char *)"");
8215 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8218 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8220 return Py_BuildValue((char *)"");
8222 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxPyFileSystemHandler
*result
;
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8244 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8247 PyObject
*arg2
= (PyObject
*) 0 ;
8248 PyObject
*arg3
= (PyObject
*) 0 ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 PyObject
* obj2
= 0 ;
8253 (char *) "self",(char *) "self",(char *) "_class", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8258 if (SWIG_arg_fail(1)) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8278 wxString
*arg2
= 0 ;
8280 bool temp2
= false ;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8284 (char *) "self",(char *) "location", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8289 if (SWIG_arg_fail(1)) SWIG_fail
;
8291 arg2
= wxString_in_helper(obj1
);
8292 if (arg2
== NULL
) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8319 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8322 wxFileSystem
*arg2
= 0 ;
8323 wxString
*arg3
= 0 ;
8325 bool temp3
= false ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8328 PyObject
* obj2
= 0 ;
8330 (char *) "self",(char *) "fs",(char *) "location", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail
;
8337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8338 if (SWIG_arg_fail(2)) SWIG_fail
;
8340 SWIG_null_ref("wxFileSystem");
8342 if (SWIG_arg_fail(2)) SWIG_fail
;
8345 arg3
= wxString_in_helper(obj2
);
8346 if (arg3
== NULL
) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= wxPyMake_wxObject(result
, 1);
8373 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8376 wxString
*arg2
= 0 ;
8377 int arg3
= (int) 0 ;
8379 bool temp2
= false ;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8382 PyObject
* obj2
= 0 ;
8384 (char *) "self",(char *) "spec",(char *) "flags", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8389 if (SWIG_arg_fail(1)) SWIG_fail
;
8391 arg2
= wxString_in_helper(obj1
);
8392 if (arg2
== NULL
) SWIG_fail
;
8397 arg3
= (int)(SWIG_As_int(obj2
));
8398 if (SWIG_arg_fail(3)) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8429 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "self", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8440 if (SWIG_arg_fail(1)) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (arg1
)->FindNext();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8461 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8464 wxString
*arg2
= 0 ;
8466 bool temp2
= false ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8470 (char *) "self",(char *) "location", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail
;
8477 arg2
= wxString_in_helper(obj1
);
8478 if (arg2
== NULL
) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8509 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8512 wxString
*arg2
= 0 ;
8514 bool temp2
= false ;
8515 PyObject
* obj0
= 0 ;
8516 PyObject
* obj1
= 0 ;
8518 (char *) "self",(char *) "location", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail
;
8525 arg2
= wxString_in_helper(obj1
);
8526 if (arg2
== NULL
) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8557 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8560 wxString
*arg2
= 0 ;
8562 bool temp2
= false ;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8566 (char *) "self",(char *) "location", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8571 if (SWIG_arg_fail(1)) SWIG_fail
;
8573 arg2
= wxString_in_helper(obj1
);
8574 if (arg2
== NULL
) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8605 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8608 wxString
*arg2
= 0 ;
8610 bool temp2
= false ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8614 (char *) "self",(char *) "location", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8619 if (SWIG_arg_fail(1)) SWIG_fail
;
8621 arg2
= wxString_in_helper(obj1
);
8622 if (arg2
== NULL
) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8653 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8656 wxString
*arg2
= 0 ;
8658 bool temp2
= false ;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8662 (char *) "self",(char *) "location", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8667 if (SWIG_arg_fail(1)) SWIG_fail
;
8669 arg2
= wxString_in_helper(obj1
);
8670 if (arg2
== NULL
) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8701 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8704 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8706 return Py_BuildValue((char *)"");
8708 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxFileSystem
*result
;
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxFileSystem
*)new wxFileSystem();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= wxPyMake_wxObject(result
, 1);
8732 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8737 (char *) "self", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8742 if (SWIG_arg_fail(1)) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8760 wxString
*arg2
= 0 ;
8761 bool arg3
= (bool) false ;
8762 bool temp2
= false ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8765 PyObject
* obj2
= 0 ;
8767 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8772 if (SWIG_arg_fail(1)) SWIG_fail
;
8774 arg2
= wxString_in_helper(obj1
);
8775 if (arg2
== NULL
) SWIG_fail
;
8780 arg3
= (bool)(SWIG_As_bool(obj2
));
8781 if (SWIG_arg_fail(3)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8806 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "self", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (arg1
)->GetPath();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8838 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8841 wxString
*arg2
= 0 ;
8843 bool temp2
= false ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8847 (char *) "self",(char *) "location", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8852 if (SWIG_arg_fail(1)) SWIG_fail
;
8854 arg2
= wxString_in_helper(obj1
);
8855 if (arg2
== NULL
) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= wxPyMake_wxObject(result
, 1);
8882 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8885 wxString
*arg2
= 0 ;
8886 int arg3
= (int) 0 ;
8888 bool temp2
= false ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8891 PyObject
* obj2
= 0 ;
8893 (char *) "self",(char *) "spec",(char *) "flags", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8898 if (SWIG_arg_fail(1)) SWIG_fail
;
8900 arg2
= wxString_in_helper(obj1
);
8901 if (arg2
== NULL
) SWIG_fail
;
8906 arg3
= (int)(SWIG_As_int(obj2
));
8907 if (SWIG_arg_fail(3)) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8938 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8942 PyObject
* obj0
= 0 ;
8944 (char *) "self", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8949 if (SWIG_arg_fail(1)) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 result
= (arg1
)->FindNext();
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8970 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "handler", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 wxFileSystem::AddHandler(arg1
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 wxFileSystem::CleanUpHandlers();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 Py_INCREF(Py_None
); resultobj
= Py_None
;
9016 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxString
*arg1
= 0 ;
9020 bool temp1
= false ;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "filename", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9028 arg1
= wxString_in_helper(obj0
);
9029 if (arg1
== NULL
) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9060 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxString
*arg1
= 0 ;
9064 bool temp1
= false ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "url", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9072 arg1
= wxString_in_helper(obj0
);
9073 if (arg1
== NULL
) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9104 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9107 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9109 return Py_BuildValue((char *)"");
9111 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxInternetFSHandler
*result
;
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9133 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9136 wxString
*arg2
= 0 ;
9138 bool temp2
= false ;
9139 PyObject
* obj0
= 0 ;
9140 PyObject
* obj1
= 0 ;
9142 (char *) "self",(char *) "location", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9147 if (SWIG_arg_fail(1)) SWIG_fail
;
9149 arg2
= wxString_in_helper(obj1
);
9150 if (arg2
== NULL
) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9177 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9180 wxFileSystem
*arg2
= 0 ;
9181 wxString
*arg3
= 0 ;
9183 bool temp3
= false ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 PyObject
* obj2
= 0 ;
9188 (char *) "self",(char *) "fs",(char *) "location", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail
;
9195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9196 if (SWIG_arg_fail(2)) SWIG_fail
;
9198 SWIG_null_ref("wxFileSystem");
9200 if (SWIG_arg_fail(2)) SWIG_fail
;
9203 arg3
= wxString_in_helper(obj2
);
9204 if (arg3
== NULL
) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= wxPyMake_wxObject(result
, 1);
9231 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9234 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9236 return Py_BuildValue((char *)"");
9238 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxZipFSHandler
*result
;
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9260 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9263 wxString
*arg2
= 0 ;
9265 bool temp2
= false ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9269 (char *) "self",(char *) "location", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail
;
9276 arg2
= wxString_in_helper(obj1
);
9277 if (arg2
== NULL
) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9304 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9307 wxFileSystem
*arg2
= 0 ;
9308 wxString
*arg3
= 0 ;
9310 bool temp3
= false ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9313 PyObject
* obj2
= 0 ;
9315 (char *) "self",(char *) "fs",(char *) "location", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9320 if (SWIG_arg_fail(1)) SWIG_fail
;
9322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9323 if (SWIG_arg_fail(2)) SWIG_fail
;
9325 SWIG_null_ref("wxFileSystem");
9327 if (SWIG_arg_fail(2)) SWIG_fail
;
9330 arg3
= wxString_in_helper(obj2
);
9331 if (arg3
== NULL
) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= wxPyMake_wxObject(result
, 1);
9358 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9361 wxString
*arg2
= 0 ;
9362 int arg3
= (int) 0 ;
9364 bool temp2
= false ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 PyObject
* obj2
= 0 ;
9369 (char *) "self",(char *) "spec",(char *) "flags", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9374 if (SWIG_arg_fail(1)) SWIG_fail
;
9376 arg2
= wxString_in_helper(obj1
);
9377 if (arg2
== NULL
) SWIG_fail
;
9382 arg3
= (int)(SWIG_As_int(obj2
));
9383 if (SWIG_arg_fail(3)) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9414 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "self", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (arg1
)->FindNext();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9446 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9449 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9451 return Py_BuildValue((char *)"");
9453 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxString
*arg1
= 0 ;
9458 bool temp1
= false ;
9459 PyObject
* obj0
= 0 ;
9460 PyObject
* obj1
= 0 ;
9461 PyObject
* obj2
= 0 ;
9463 (char *) "filename",(char *) "image",(char *) "type", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9468 arg1
= wxString_in_helper(obj0
);
9469 if (arg1
== NULL
) SWIG_fail
;
9473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9474 if (SWIG_arg_fail(2)) SWIG_fail
;
9476 SWIG_null_ref("wxImage");
9478 if (SWIG_arg_fail(2)) SWIG_fail
;
9481 arg3
= (long)(SWIG_As_long(obj2
));
9482 if (SWIG_arg_fail(3)) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 Py_INCREF(Py_None
); resultobj
= Py_None
;
9506 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxString
*arg1
= 0 ;
9509 wxBitmap
*arg2
= 0 ;
9511 bool temp1
= false ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9516 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9521 arg1
= wxString_in_helper(obj0
);
9522 if (arg1
== NULL
) SWIG_fail
;
9526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9527 if (SWIG_arg_fail(2)) SWIG_fail
;
9529 SWIG_null_ref("wxBitmap");
9531 if (SWIG_arg_fail(2)) SWIG_fail
;
9534 arg3
= (long)(SWIG_As_long(obj2
));
9535 if (SWIG_arg_fail(3)) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 Py_INCREF(Py_None
); resultobj
= Py_None
;
9559 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxString
*arg1
= 0 ;
9562 PyObject
*arg2
= (PyObject
*) 0 ;
9563 bool temp1
= false ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9567 (char *) "filename",(char *) "data", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9572 arg1
= wxString_in_helper(obj0
);
9573 if (arg1
== NULL
) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxMemoryFSHandler
*result
;
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9621 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxString
*arg1
= 0 ;
9624 bool temp1
= false ;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "filename", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9632 arg1
= wxString_in_helper(obj0
);
9633 if (arg1
== NULL
) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9658 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9661 wxString
*arg2
= 0 ;
9663 bool temp2
= false ;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9667 (char *) "self",(char *) "location", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9672 if (SWIG_arg_fail(1)) SWIG_fail
;
9674 arg2
= wxString_in_helper(obj1
);
9675 if (arg2
== NULL
) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9705 wxFileSystem
*arg2
= 0 ;
9706 wxString
*arg3
= 0 ;
9708 bool temp3
= false ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 PyObject
* obj2
= 0 ;
9713 (char *) "self",(char *) "fs",(char *) "location", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9721 if (SWIG_arg_fail(2)) SWIG_fail
;
9723 SWIG_null_ref("wxFileSystem");
9725 if (SWIG_arg_fail(2)) SWIG_fail
;
9728 arg3
= wxString_in_helper(obj2
);
9729 if (arg3
== NULL
) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= wxPyMake_wxObject(result
, 1);
9756 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9759 wxString
*arg2
= 0 ;
9760 int arg3
= (int) 0 ;
9762 bool temp2
= false ;
9763 PyObject
* obj0
= 0 ;
9764 PyObject
* obj1
= 0 ;
9765 PyObject
* obj2
= 0 ;
9767 (char *) "self",(char *) "spec",(char *) "flags", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9772 if (SWIG_arg_fail(1)) SWIG_fail
;
9774 arg2
= wxString_in_helper(obj1
);
9775 if (arg2
== NULL
) SWIG_fail
;
9780 arg3
= (int)(SWIG_As_int(obj2
));
9781 if (SWIG_arg_fail(3)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9812 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9816 PyObject
* obj0
= 0 ;
9818 (char *) "self", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9823 if (SWIG_arg_fail(1)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (arg1
)->FindNext();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9844 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9847 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9849 return Py_BuildValue((char *)"");
9851 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9855 PyObject
* obj0
= 0 ;
9857 (char *) "self", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9862 if (SWIG_arg_fail(1)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (arg1
)->GetName();
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9883 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9887 PyObject
* obj0
= 0 ;
9889 (char *) "self", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9894 if (SWIG_arg_fail(1)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (arg1
)->GetExtension();
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9915 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9921 (char *) "self", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9926 if (SWIG_arg_fail(1)) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (long)(arg1
)->GetType();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_From_long((long)(result
));
9943 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9949 (char *) "self", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9954 if (SWIG_arg_fail(1)) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (arg1
)->GetMimeType();
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9975 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9978 wxString
*arg2
= 0 ;
9980 bool temp2
= false ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "name", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail
;
9991 arg2
= wxString_in_helper(obj1
);
9992 if (arg2
== NULL
) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10019 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10022 wxString
*arg2
= 0 ;
10023 bool temp2
= false ;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self",(char *) "name", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10032 if (SWIG_arg_fail(1)) SWIG_fail
;
10034 arg2
= wxString_in_helper(obj1
);
10035 if (arg2
== NULL
) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 (arg1
)->SetName((wxString
const &)*arg2
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 Py_INCREF(Py_None
); resultobj
= Py_None
;
10060 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10063 wxString
*arg2
= 0 ;
10064 bool temp2
= false ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self",(char *) "extension", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 arg2
= wxString_in_helper(obj1
);
10076 if (arg2
== NULL
) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 (arg1
)->SetExtension((wxString
const &)*arg2
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 Py_INCREF(Py_None
); resultobj
= Py_None
;
10101 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self",(char *) "type", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10113 if (SWIG_arg_fail(1)) SWIG_fail
;
10115 arg2
= (long)(SWIG_As_long(obj1
));
10116 if (SWIG_arg_fail(2)) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 (arg1
)->SetType(arg2
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10135 wxString
*arg2
= 0 ;
10136 bool temp2
= false ;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self",(char *) "mimetype", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10145 if (SWIG_arg_fail(1)) SWIG_fail
;
10147 arg2
= wxString_in_helper(obj1
);
10148 if (arg2
== NULL
) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 Py_INCREF(Py_None
); resultobj
= Py_None
;
10173 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10176 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10178 return Py_BuildValue((char *)"");
10180 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxImageHistogram
*result
;
10183 char *kwnames
[] = {
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (wxImageHistogram
*)new wxImageHistogram();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10202 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 unsigned char arg1
;
10205 unsigned char arg2
;
10206 unsigned char arg3
;
10207 unsigned long result
;
10208 PyObject
* obj0
= 0 ;
10209 PyObject
* obj1
= 0 ;
10210 PyObject
* obj2
= 0 ;
10211 char *kwnames
[] = {
10212 (char *) "r",(char *) "g",(char *) "b", NULL
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10217 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10218 if (SWIG_arg_fail(1)) SWIG_fail
;
10221 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10222 if (SWIG_arg_fail(2)) SWIG_fail
;
10225 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10226 if (SWIG_arg_fail(3)) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10244 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10247 unsigned char *arg2
= (unsigned char *) 0 ;
10248 unsigned char *arg3
= (unsigned char *) 0 ;
10249 unsigned char *arg4
= (unsigned char *) 0 ;
10250 unsigned char arg5
= (unsigned char) 1 ;
10251 unsigned char arg6
= (unsigned char) 0 ;
10252 unsigned char arg7
= (unsigned char) 0 ;
10254 unsigned char temp2
;
10256 unsigned char temp3
;
10258 unsigned char temp4
;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 PyObject
* obj2
= 0 ;
10263 PyObject
* obj3
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10268 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10269 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10270 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail
;
10276 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10277 if (SWIG_arg_fail(5)) SWIG_fail
;
10282 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10283 if (SWIG_arg_fail(6)) SWIG_fail
;
10288 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10289 if (SWIG_arg_fail(7)) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10302 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10303 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10304 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10305 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10306 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10307 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10314 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10317 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10319 return Py_BuildValue((char *)"");
10321 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxString
*arg1
= 0 ;
10324 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10325 int arg3
= (int) -1 ;
10327 bool temp1
= false ;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj2
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "name",(char *) "type",(char *) "index", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10337 arg1
= wxString_in_helper(obj0
);
10338 if (arg1
== NULL
) SWIG_fail
;
10343 arg2
= (long)(SWIG_As_long(obj1
));
10344 if (SWIG_arg_fail(2)) SWIG_fail
;
10349 arg3
= (int)(SWIG_As_int(obj2
));
10350 if (SWIG_arg_fail(3)) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10375 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxImage
*arg1
= (wxImage
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10385 if (SWIG_arg_fail(1)) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxString
*arg1
= 0 ;
10403 wxString
*arg2
= 0 ;
10404 int arg3
= (int) -1 ;
10406 bool temp1
= false ;
10407 bool temp2
= false ;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 PyObject
* obj2
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10417 arg1
= wxString_in_helper(obj0
);
10418 if (arg1
== NULL
) SWIG_fail
;
10422 arg2
= wxString_in_helper(obj1
);
10423 if (arg2
== NULL
) SWIG_fail
;
10428 arg3
= (int)(SWIG_As_int(obj2
));
10429 if (SWIG_arg_fail(3)) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10462 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxInputStream
*arg1
= 0 ;
10465 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10466 int arg3
= (int) -1 ;
10468 wxPyInputStream
*temp1
;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 PyObject
* obj2
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "stream",(char *) "type",(char *) "index", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10479 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10480 arg1
= temp1
->m_wxis
;
10483 PyErr_Clear(); // clear the failure of the wxPyConvert above
10484 arg1
= wxPyCBInputStream_create(obj0
, false);
10485 if (arg1
== NULL
) {
10486 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10494 arg2
= (long)(SWIG_As_long(obj1
));
10495 if (SWIG_arg_fail(2)) SWIG_fail
;
10500 arg3
= (int)(SWIG_As_int(obj2
));
10501 if (SWIG_arg_fail(3)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10526 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxInputStream
*arg1
= 0 ;
10529 wxString
*arg2
= 0 ;
10530 int arg3
= (int) -1 ;
10532 wxPyInputStream
*temp1
;
10534 bool temp2
= false ;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10544 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10545 arg1
= temp1
->m_wxis
;
10548 PyErr_Clear(); // clear the failure of the wxPyConvert above
10549 arg1
= wxPyCBInputStream_create(obj0
, false);
10550 if (arg1
== NULL
) {
10551 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10558 arg2
= wxString_in_helper(obj1
);
10559 if (arg2
== NULL
) SWIG_fail
;
10564 arg3
= (int)(SWIG_As_int(obj2
));
10565 if (SWIG_arg_fail(3)) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10598 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 int arg1
= (int) 0 ;
10601 int arg2
= (int) 0 ;
10602 bool arg3
= (bool) true ;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 PyObject
* obj2
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "width",(char *) "height",(char *) "clear", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10614 arg1
= (int)(SWIG_As_int(obj0
));
10615 if (SWIG_arg_fail(1)) SWIG_fail
;
10620 arg2
= (int)(SWIG_As_int(obj1
));
10621 if (SWIG_arg_fail(2)) SWIG_fail
;
10626 arg3
= (bool)(SWIG_As_bool(obj2
));
10627 if (SWIG_arg_fail(3)) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10644 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxBitmap
*arg1
= 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "bitmap", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail
;
10657 if (arg1
== NULL
) {
10658 SWIG_null_ref("wxBitmap");
10660 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 if (!wxPyCheckForApp()) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10677 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10681 unsigned char *arg3
= (unsigned char *) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "width",(char *) "height",(char *) "data", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10692 arg1
= (int)(SWIG_As_int(obj0
));
10693 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 arg2
= (int)(SWIG_As_int(obj1
));
10697 if (SWIG_arg_fail(2)) SWIG_fail
;
10699 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(3)) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10715 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10719 unsigned char *arg3
= (unsigned char *) 0 ;
10720 unsigned char *arg4
= (unsigned char *) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 PyObject
* obj3
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10732 arg1
= (int)(SWIG_As_int(obj0
));
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10736 arg2
= (int)(SWIG_As_int(obj1
));
10737 if (SWIG_arg_fail(2)) SWIG_fail
;
10739 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10740 if (SWIG_arg_fail(3)) SWIG_fail
;
10741 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10742 if (SWIG_arg_fail(4)) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10757 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxImage
*arg1
= (wxImage
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 PyObject
* obj2
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self",(char *) "width",(char *) "height", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10771 if (SWIG_arg_fail(1)) SWIG_fail
;
10773 arg2
= (int)(SWIG_As_int(obj1
));
10774 if (SWIG_arg_fail(2)) SWIG_fail
;
10777 arg3
= (int)(SWIG_As_int(obj2
));
10778 if (SWIG_arg_fail(3)) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->Create(arg2
,arg3
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxImage
*arg1
= (wxImage
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10804 if (SWIG_arg_fail(1)) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxImage
*arg1
= (wxImage
*) 0 ;
10824 SwigValueWrapper
<wxImage
> result
;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 PyObject
* obj2
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "width",(char *) "height", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10836 arg2
= (int)(SWIG_As_int(obj1
));
10837 if (SWIG_arg_fail(2)) SWIG_fail
;
10840 arg3
= (int)(SWIG_As_int(obj2
));
10841 if (SWIG_arg_fail(3)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (arg1
)->Scale(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 wxImage
* resultptr
;
10852 resultptr
= new wxImage((wxImage
&)(result
));
10853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10861 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxImage
*arg1
= (wxImage
*) 0 ;
10866 SwigValueWrapper
<wxImage
> result
;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10876 if (SWIG_arg_fail(1)) SWIG_fail
;
10878 arg2
= (int)(SWIG_As_int(obj1
));
10879 if (SWIG_arg_fail(2)) SWIG_fail
;
10882 arg3
= (int)(SWIG_As_int(obj2
));
10883 if (SWIG_arg_fail(3)) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10893 wxImage
* resultptr
;
10894 resultptr
= new wxImage((wxImage
&)(result
));
10895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10903 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxImage
*arg1
= (wxImage
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "width",(char *) "height", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10918 if (SWIG_arg_fail(1)) SWIG_fail
;
10920 arg2
= (int)(SWIG_As_int(obj1
));
10921 if (SWIG_arg_fail(2)) SWIG_fail
;
10924 arg3
= (int)(SWIG_As_int(obj2
));
10925 if (SWIG_arg_fail(3)) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10931 result
= (wxImage
*) &_result_ref
;
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10944 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxImage
*arg1
= (wxImage
*) 0 ;
10949 unsigned char arg4
;
10950 unsigned char arg5
;
10951 unsigned char arg6
;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 PyObject
* obj3
= 0 ;
10956 PyObject
* obj4
= 0 ;
10957 PyObject
* obj5
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10964 if (SWIG_arg_fail(1)) SWIG_fail
;
10966 arg2
= (int)(SWIG_As_int(obj1
));
10967 if (SWIG_arg_fail(2)) SWIG_fail
;
10970 arg3
= (int)(SWIG_As_int(obj2
));
10971 if (SWIG_arg_fail(3)) SWIG_fail
;
10974 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10975 if (SWIG_arg_fail(4)) SWIG_fail
;
10978 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10979 if (SWIG_arg_fail(5)) SWIG_fail
;
10982 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10983 if (SWIG_arg_fail(6)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxImage
*arg1
= (wxImage
*) 0 ;
11004 unsigned char result
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 PyObject
* obj2
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "x",(char *) "y", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail
;
11016 arg2
= (int)(SWIG_As_int(obj1
));
11017 if (SWIG_arg_fail(2)) SWIG_fail
;
11020 arg3
= (int)(SWIG_As_int(obj2
));
11021 if (SWIG_arg_fail(3)) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11039 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxImage
*arg1
= (wxImage
*) 0 ;
11044 unsigned char result
;
11045 PyObject
* obj0
= 0 ;
11046 PyObject
* obj1
= 0 ;
11047 PyObject
* obj2
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self",(char *) "x",(char *) "y", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail
;
11056 arg2
= (int)(SWIG_As_int(obj1
));
11057 if (SWIG_arg_fail(2)) SWIG_fail
;
11060 arg3
= (int)(SWIG_As_int(obj2
));
11061 if (SWIG_arg_fail(3)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11079 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxImage
*arg1
= (wxImage
*) 0 ;
11084 unsigned char result
;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 PyObject
* obj2
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "x",(char *) "y", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail
;
11096 arg2
= (int)(SWIG_As_int(obj1
));
11097 if (SWIG_arg_fail(2)) SWIG_fail
;
11100 arg3
= (int)(SWIG_As_int(obj2
));
11101 if (SWIG_arg_fail(3)) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11119 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxImage
*arg1
= (wxImage
*) 0 ;
11124 unsigned char arg4
;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 PyObject
* obj3
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11135 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 arg2
= (int)(SWIG_As_int(obj1
));
11138 if (SWIG_arg_fail(2)) SWIG_fail
;
11141 arg3
= (int)(SWIG_As_int(obj2
));
11142 if (SWIG_arg_fail(3)) SWIG_fail
;
11145 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11146 if (SWIG_arg_fail(4)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxImage
*arg1
= (wxImage
*) 0 ;
11167 unsigned char result
;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 PyObject
* obj2
= 0 ;
11171 char *kwnames
[] = {
11172 (char *) "self",(char *) "x",(char *) "y", NULL
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11177 if (SWIG_arg_fail(1)) SWIG_fail
;
11179 arg2
= (int)(SWIG_As_int(obj1
));
11180 if (SWIG_arg_fail(2)) SWIG_fail
;
11183 arg3
= (int)(SWIG_As_int(obj2
));
11184 if (SWIG_arg_fail(3)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11202 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxImage
*arg1
= (wxImage
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11213 if (SWIG_arg_fail(1)) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (bool)(arg1
)->HasAlpha();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11230 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11232 wxImage
*arg1
= (wxImage
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11240 if (SWIG_arg_fail(1)) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->InitAlpha();
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxImage
*arg1
= (wxImage
*) 0 ;
11258 byte
*arg2
= (byte
*) 0 ;
11259 byte
*arg3
= (byte
*) 0 ;
11260 byte
*arg4
= (byte
*) 0 ;
11261 byte arg5
= (byte
) 0 ;
11262 byte arg6
= (byte
) 0 ;
11263 byte arg7
= (byte
) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 PyObject
* obj2
= 0 ;
11274 PyObject
* obj3
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11279 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11280 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11281 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11288 if (SWIG_arg_fail(5)) SWIG_fail
;
11293 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11294 if (SWIG_arg_fail(6)) SWIG_fail
;
11299 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11300 if (SWIG_arg_fail(7)) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11313 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11314 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11315 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11316 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11317 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11318 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11325 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxImage
*arg1
= (wxImage
*) 0 ;
11328 byte arg2
= (byte
) 128 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "threshold", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11338 if (SWIG_arg_fail(1)) SWIG_fail
;
11341 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11342 if (SWIG_arg_fail(2)) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11361 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxImage
*arg1
= (wxImage
*) 0 ;
11364 unsigned char arg2
;
11365 unsigned char arg3
;
11366 unsigned char arg4
;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 PyObject
* obj3
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11384 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11385 if (SWIG_arg_fail(3)) SWIG_fail
;
11388 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11389 if (SWIG_arg_fail(4)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11407 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxImage
*arg1
= (wxImage
*) 0 ;
11410 wxImage
*arg2
= 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 PyObject
* obj3
= 0 ;
11419 PyObject
* obj4
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11426 if (SWIG_arg_fail(1)) SWIG_fail
;
11428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11429 if (SWIG_arg_fail(2)) SWIG_fail
;
11430 if (arg2
== NULL
) {
11431 SWIG_null_ref("wxImage");
11433 if (SWIG_arg_fail(2)) SWIG_fail
;
11436 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11437 if (SWIG_arg_fail(3)) SWIG_fail
;
11440 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11441 if (SWIG_arg_fail(4)) SWIG_fail
;
11444 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11445 if (SWIG_arg_fail(5)) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11463 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11465 wxString
*arg1
= 0 ;
11467 bool temp1
= false ;
11468 PyObject
* obj0
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "name", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11475 arg1
= wxString_in_helper(obj0
);
11476 if (arg1
== NULL
) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11503 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxString
*arg1
= 0 ;
11506 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11508 bool temp1
= false ;
11509 PyObject
* obj0
= 0 ;
11510 PyObject
* obj1
= 0 ;
11511 char *kwnames
[] = {
11512 (char *) "name",(char *) "type", NULL
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11517 arg1
= wxString_in_helper(obj0
);
11518 if (arg1
== NULL
) SWIG_fail
;
11523 arg2
= (long)(SWIG_As_long(obj1
));
11524 if (SWIG_arg_fail(2)) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_From_int((int)(result
));
11551 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxImage
*arg1
= (wxImage
*) 0 ;
11554 wxString
*arg2
= 0 ;
11555 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11556 int arg4
= (int) -1 ;
11558 bool temp2
= false ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 PyObject
* obj2
= 0 ;
11562 PyObject
* obj3
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11569 if (SWIG_arg_fail(1)) SWIG_fail
;
11571 arg2
= wxString_in_helper(obj1
);
11572 if (arg2
== NULL
) SWIG_fail
;
11577 arg3
= (long)(SWIG_As_long(obj2
));
11578 if (SWIG_arg_fail(3)) SWIG_fail
;
11583 arg4
= (int)(SWIG_As_int(obj3
));
11584 if (SWIG_arg_fail(4)) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11611 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxImage
*arg1
= (wxImage
*) 0 ;
11614 wxString
*arg2
= 0 ;
11615 wxString
*arg3
= 0 ;
11616 int arg4
= (int) -1 ;
11618 bool temp2
= false ;
11619 bool temp3
= false ;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 PyObject
* obj2
= 0 ;
11623 PyObject
* obj3
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11630 if (SWIG_arg_fail(1)) SWIG_fail
;
11632 arg2
= wxString_in_helper(obj1
);
11633 if (arg2
== NULL
) SWIG_fail
;
11637 arg3
= wxString_in_helper(obj2
);
11638 if (arg3
== NULL
) SWIG_fail
;
11643 arg4
= (int)(SWIG_As_int(obj3
));
11644 if (SWIG_arg_fail(4)) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11679 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxImage
*arg1
= (wxImage
*) 0 ;
11682 wxString
*arg2
= 0 ;
11685 bool temp2
= false ;
11686 PyObject
* obj0
= 0 ;
11687 PyObject
* obj1
= 0 ;
11688 PyObject
* obj2
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "name",(char *) "type", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11695 if (SWIG_arg_fail(1)) SWIG_fail
;
11697 arg2
= wxString_in_helper(obj1
);
11698 if (arg2
== NULL
) SWIG_fail
;
11702 arg3
= (int)(SWIG_As_int(obj2
));
11703 if (SWIG_arg_fail(3)) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11729 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxImage
*arg1
= (wxImage
*) 0 ;
11732 wxString
*arg2
= 0 ;
11733 wxString
*arg3
= 0 ;
11735 bool temp2
= false ;
11736 bool temp3
= false ;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 PyObject
* obj2
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail
;
11748 arg2
= wxString_in_helper(obj1
);
11749 if (arg2
== NULL
) SWIG_fail
;
11753 arg3
= wxString_in_helper(obj2
);
11754 if (arg3
== NULL
) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxInputStream
*arg1
= 0 ;
11793 wxPyInputStream
*temp1
;
11795 PyObject
* obj0
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "stream", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11802 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11803 arg1
= temp1
->m_wxis
;
11806 PyErr_Clear(); // clear the failure of the wxPyConvert above
11807 arg1
= wxPyCBInputStream_create(obj0
, false);
11808 if (arg1
== NULL
) {
11809 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (bool)wxImage::CanRead(*arg1
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11839 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxImage
*arg1
= (wxImage
*) 0 ;
11842 wxInputStream
*arg2
= 0 ;
11843 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11844 int arg4
= (int) -1 ;
11846 wxPyInputStream
*temp2
;
11848 PyObject
* obj0
= 0 ;
11849 PyObject
* obj1
= 0 ;
11850 PyObject
* obj2
= 0 ;
11851 PyObject
* obj3
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail
;
11860 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11861 arg2
= temp2
->m_wxis
;
11864 PyErr_Clear(); // clear the failure of the wxPyConvert above
11865 arg2
= wxPyCBInputStream_create(obj1
, false);
11866 if (arg2
== NULL
) {
11867 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11875 arg3
= (long)(SWIG_As_long(obj2
));
11876 if (SWIG_arg_fail(3)) SWIG_fail
;
11881 arg4
= (int)(SWIG_As_int(obj3
));
11882 if (SWIG_arg_fail(4)) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11909 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxImage
*arg1
= (wxImage
*) 0 ;
11912 wxInputStream
*arg2
= 0 ;
11913 wxString
*arg3
= 0 ;
11914 int arg4
= (int) -1 ;
11916 wxPyInputStream
*temp2
;
11918 bool temp3
= false ;
11919 PyObject
* obj0
= 0 ;
11920 PyObject
* obj1
= 0 ;
11921 PyObject
* obj2
= 0 ;
11922 PyObject
* obj3
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11929 if (SWIG_arg_fail(1)) SWIG_fail
;
11931 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11932 arg2
= temp2
->m_wxis
;
11935 PyErr_Clear(); // clear the failure of the wxPyConvert above
11936 arg2
= wxPyCBInputStream_create(obj1
, false);
11937 if (arg2
== NULL
) {
11938 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11945 arg3
= wxString_in_helper(obj2
);
11946 if (arg3
== NULL
) SWIG_fail
;
11951 arg4
= (int)(SWIG_As_int(obj3
));
11952 if (SWIG_arg_fail(4)) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11987 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxImage
*arg1
= (wxImage
*) 0 ;
11991 PyObject
* obj0
= 0 ;
11992 char *kwnames
[] = {
11993 (char *) "self", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11998 if (SWIG_arg_fail(1)) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (bool)(arg1
)->Ok();
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12015 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxImage
*arg1
= (wxImage
*) 0 ;
12019 PyObject
* obj0
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12026 if (SWIG_arg_fail(1)) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (int)(arg1
)->GetWidth();
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= SWIG_From_int((int)(result
));
12043 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxImage
*arg1
= (wxImage
*) 0 ;
12047 PyObject
* obj0
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (int)(arg1
)->GetHeight();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= SWIG_From_int((int)(result
));
12071 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxImage
*arg1
= (wxImage
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= wxImage_GetSize(arg1
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 wxSize
* resultptr
;
12092 resultptr
= new wxSize((wxSize
&)(result
));
12093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12101 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxImage
*arg1
= (wxImage
*) 0 ;
12105 SwigValueWrapper
<wxImage
> result
;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self",(char *) "rect", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail
;
12118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 wxImage
* resultptr
;
12129 resultptr
= new wxImage((wxImage
&)(result
));
12130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12138 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
;
12140 wxImage
*arg1
= (wxImage
*) 0 ;
12141 SwigValueWrapper
<wxImage
> result
;
12142 PyObject
* obj0
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12149 if (SWIG_arg_fail(1)) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (arg1
)->Copy();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 wxImage
* resultptr
;
12159 resultptr
= new wxImage((wxImage
&)(result
));
12160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12168 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxImage
*arg1
= (wxImage
*) 0 ;
12171 wxImage
*arg2
= 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 PyObject
* obj2
= 0 ;
12177 PyObject
* obj3
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12184 if (SWIG_arg_fail(1)) SWIG_fail
;
12186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12187 if (SWIG_arg_fail(2)) SWIG_fail
;
12188 if (arg2
== NULL
) {
12189 SWIG_null_ref("wxImage");
12191 if (SWIG_arg_fail(2)) SWIG_fail
;
12194 arg3
= (int)(SWIG_As_int(obj2
));
12195 if (SWIG_arg_fail(3)) SWIG_fail
;
12198 arg4
= (int)(SWIG_As_int(obj3
));
12199 if (SWIG_arg_fail(4)) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 Py_INCREF(Py_None
); resultobj
= Py_None
;
12215 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxImage
*arg1
= (wxImage
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (PyObject
*)wxImage_GetData(arg1
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
;
12241 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxImage
*arg1
= (wxImage
*) 0 ;
12244 PyObject
*arg2
= (PyObject
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self",(char *) "data", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 wxImage_SetData(arg1
,arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 Py_INCREF(Py_None
); resultobj
= Py_None
;
12269 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxImage
*arg1
= (wxImage
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12280 if (SWIG_arg_fail(1)) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= result
;
12295 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxImage
*arg1
= (wxImage
*) 0 ;
12298 PyObject
*arg2
= (PyObject
*) 0 ;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self",(char *) "data", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12307 if (SWIG_arg_fail(1)) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 wxImage_SetDataBuffer(arg1
,arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 Py_INCREF(Py_None
); resultobj
= Py_None
;
12323 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxImage
*arg1
= (wxImage
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= result
;
12349 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxImage
*arg1
= (wxImage
*) 0 ;
12352 PyObject
*arg2
= (PyObject
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "data", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12361 if (SWIG_arg_fail(1)) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 wxImage_SetAlphaData(arg1
,arg2
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12377 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxImage
*arg1
= (wxImage
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12388 if (SWIG_arg_fail(1)) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= result
;
12403 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxImage
*arg1
= (wxImage
*) 0 ;
12406 PyObject
*arg2
= (PyObject
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self",(char *) "data", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12415 if (SWIG_arg_fail(1)) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 wxImage_SetAlphaBuffer(arg1
,arg2
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 Py_INCREF(Py_None
); resultobj
= Py_None
;
12431 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxImage
*arg1
= (wxImage
*) 0 ;
12434 unsigned char arg2
;
12435 unsigned char arg3
;
12436 unsigned char arg4
;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 PyObject
* obj2
= 0 ;
12440 PyObject
* obj3
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12447 if (SWIG_arg_fail(1)) SWIG_fail
;
12449 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12450 if (SWIG_arg_fail(2)) SWIG_fail
;
12453 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12454 if (SWIG_arg_fail(3)) SWIG_fail
;
12457 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12458 if (SWIG_arg_fail(4)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 Py_INCREF(Py_None
); resultobj
= Py_None
;
12474 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxImage
*arg1
= (wxImage
*) 0 ;
12477 unsigned char result
;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12485 if (SWIG_arg_fail(1)) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (unsigned char)(arg1
)->GetMaskRed();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12502 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxImage
*arg1
= (wxImage
*) 0 ;
12505 unsigned char result
;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12513 if (SWIG_arg_fail(1)) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (unsigned char)(arg1
)->GetMaskGreen();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12530 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxImage
*arg1
= (wxImage
*) 0 ;
12533 unsigned char result
;
12534 PyObject
* obj0
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12541 if (SWIG_arg_fail(1)) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (unsigned char)(arg1
)->GetMaskBlue();
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12558 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxImage
*arg1
= (wxImage
*) 0 ;
12561 bool arg2
= (bool) true ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "mask", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12570 if (SWIG_arg_fail(1)) SWIG_fail
;
12573 arg2
= (bool)(SWIG_As_bool(obj1
));
12574 if (SWIG_arg_fail(2)) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetMask(arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxImage
*arg1
= (wxImage
*) 0 ;
12595 PyObject
* obj0
= 0 ;
12596 char *kwnames
[] = {
12597 (char *) "self", NULL
12600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12602 if (SWIG_arg_fail(1)) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 result
= (bool)(arg1
)->HasMask();
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12619 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxImage
*arg1
= (wxImage
*) 0 ;
12623 wxPoint
*arg3
= 0 ;
12624 bool arg4
= (bool) true ;
12625 wxPoint
*arg5
= (wxPoint
*) NULL
;
12626 SwigValueWrapper
<wxImage
> result
;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 PyObject
* obj2
= 0 ;
12631 PyObject
* obj3
= 0 ;
12632 PyObject
* obj4
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 arg2
= (double)(SWIG_As_double(obj1
));
12642 if (SWIG_arg_fail(2)) SWIG_fail
;
12646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12650 arg4
= (bool)(SWIG_As_bool(obj3
));
12651 if (SWIG_arg_fail(4)) SWIG_fail
;
12655 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12656 if (SWIG_arg_fail(5)) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 wxImage
* resultptr
;
12667 resultptr
= new wxImage((wxImage
&)(result
));
12668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12676 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxImage
*arg1
= (wxImage
*) 0 ;
12679 bool arg2
= (bool) true ;
12680 SwigValueWrapper
<wxImage
> result
;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "clockwise", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail
;
12692 arg2
= (bool)(SWIG_As_bool(obj1
));
12693 if (SWIG_arg_fail(2)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (arg1
)->Rotate90(arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 wxImage
* resultptr
;
12705 resultptr
= new wxImage((wxImage
&)(result
));
12706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12714 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxImage
*arg1
= (wxImage
*) 0 ;
12717 bool arg2
= (bool) true ;
12718 SwigValueWrapper
<wxImage
> result
;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self",(char *) "horizontally", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12727 if (SWIG_arg_fail(1)) SWIG_fail
;
12730 arg2
= (bool)(SWIG_As_bool(obj1
));
12731 if (SWIG_arg_fail(2)) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (arg1
)->Mirror(arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 wxImage
* resultptr
;
12743 resultptr
= new wxImage((wxImage
&)(result
));
12744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12752 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxImage
*arg1
= (wxImage
*) 0 ;
12755 unsigned char arg2
;
12756 unsigned char arg3
;
12757 unsigned char arg4
;
12758 unsigned char arg5
;
12759 unsigned char arg6
;
12760 unsigned char arg7
;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 PyObject
* obj2
= 0 ;
12764 PyObject
* obj3
= 0 ;
12765 PyObject
* obj4
= 0 ;
12766 PyObject
* obj5
= 0 ;
12767 PyObject
* obj6
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12777 if (SWIG_arg_fail(2)) SWIG_fail
;
12780 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12781 if (SWIG_arg_fail(3)) SWIG_fail
;
12784 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12785 if (SWIG_arg_fail(4)) SWIG_fail
;
12788 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12789 if (SWIG_arg_fail(5)) SWIG_fail
;
12792 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12793 if (SWIG_arg_fail(6)) SWIG_fail
;
12796 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12797 if (SWIG_arg_fail(7)) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 Py_INCREF(Py_None
); resultobj
= Py_None
;
12813 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxImage
*arg1
= (wxImage
*) 0 ;
12816 unsigned char arg2
;
12817 unsigned char arg3
;
12818 unsigned char arg4
;
12819 SwigValueWrapper
<wxImage
> result
;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 PyObject
* obj2
= 0 ;
12823 PyObject
* obj3
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12830 if (SWIG_arg_fail(1)) SWIG_fail
;
12832 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12833 if (SWIG_arg_fail(2)) SWIG_fail
;
12836 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12837 if (SWIG_arg_fail(3)) SWIG_fail
;
12840 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12841 if (SWIG_arg_fail(4)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12851 wxImage
* resultptr
;
12852 resultptr
= new wxImage((wxImage
&)(result
));
12853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12861 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxImage
*arg1
= (wxImage
*) 0 ;
12864 wxString
*arg2
= 0 ;
12865 wxString
*arg3
= 0 ;
12866 bool temp2
= false ;
12867 bool temp3
= false ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 PyObject
* obj2
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "name",(char *) "value", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12877 if (SWIG_arg_fail(1)) SWIG_fail
;
12879 arg2
= wxString_in_helper(obj1
);
12880 if (arg2
== NULL
) SWIG_fail
;
12884 arg3
= wxString_in_helper(obj2
);
12885 if (arg3
== NULL
) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 Py_INCREF(Py_None
); resultobj
= Py_None
;
12918 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxImage
*arg1
= (wxImage
*) 0 ;
12921 wxString
*arg2
= 0 ;
12923 bool temp2
= false ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 PyObject
* obj2
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "self",(char *) "name",(char *) "value", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12933 if (SWIG_arg_fail(1)) SWIG_fail
;
12935 arg2
= wxString_in_helper(obj1
);
12936 if (arg2
== NULL
) SWIG_fail
;
12940 arg3
= (int)(SWIG_As_int(obj2
));
12941 if (SWIG_arg_fail(3)) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxImage
*arg1
= (wxImage
*) 0 ;
12968 wxString
*arg2
= 0 ;
12970 bool temp2
= false ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "name", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12979 if (SWIG_arg_fail(1)) SWIG_fail
;
12981 arg2
= wxString_in_helper(obj1
);
12982 if (arg2
== NULL
) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13013 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxImage
*arg1
= (wxImage
*) 0 ;
13016 wxString
*arg2
= 0 ;
13018 bool temp2
= false ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self",(char *) "name", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 arg2
= wxString_in_helper(obj1
);
13030 if (arg2
== NULL
) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= SWIG_From_int((int)(result
));
13057 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxImage
*arg1
= (wxImage
*) 0 ;
13060 wxString
*arg2
= 0 ;
13062 bool temp2
= false ;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self",(char *) "name", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13071 if (SWIG_arg_fail(1)) SWIG_fail
;
13073 arg2
= wxString_in_helper(obj1
);
13074 if (arg2
== NULL
) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13101 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxImage
*arg1
= (wxImage
*) 0 ;
13104 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13105 unsigned long result
;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "stopafter", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13114 if (SWIG_arg_fail(1)) SWIG_fail
;
13117 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13118 if (SWIG_arg_fail(2)) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13137 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxImage
*arg1
= (wxImage
*) 0 ;
13140 wxImageHistogram
*arg2
= 0 ;
13141 unsigned long result
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "h", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail
;
13152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13153 if (SWIG_arg_fail(2)) SWIG_fail
;
13154 if (arg2
== NULL
) {
13155 SWIG_null_ref("wxImageHistogram");
13157 if (SWIG_arg_fail(2)) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13175 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "handler", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13185 if (SWIG_arg_fail(1)) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 wxImage::AddHandler(arg1
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "handler", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 wxImage::InsertHandler(arg1
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 Py_INCREF(Py_None
); resultobj
= Py_None
;
13225 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxString
*arg1
= 0 ;
13229 bool temp1
= false ;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "name", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13237 arg1
= wxString_in_helper(obj0
);
13238 if (arg1
== NULL
) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13265 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13268 char *kwnames
[] = {
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= wxImage::GetImageExtWildcard();
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13293 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxImage
*arg1
= (wxImage
*) 0 ;
13296 int arg2
= (int) -1 ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "depth", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13306 if (SWIG_arg_fail(1)) SWIG_fail
;
13309 arg2
= (int)(SWIG_As_int(obj1
));
13310 if (SWIG_arg_fail(2)) SWIG_fail
;
13314 if (!wxPyCheckForApp()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 wxBitmap
* resultptr
;
13323 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13332 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
;
13334 wxImage
*arg1
= (wxImage
*) 0 ;
13335 unsigned char arg2
;
13336 unsigned char arg3
;
13337 unsigned char arg4
;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 PyObject
* obj2
= 0 ;
13342 PyObject
* obj3
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13349 if (SWIG_arg_fail(1)) SWIG_fail
;
13351 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13352 if (SWIG_arg_fail(2)) SWIG_fail
;
13355 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13356 if (SWIG_arg_fail(3)) SWIG_fail
;
13359 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13360 if (SWIG_arg_fail(4)) SWIG_fail
;
13363 if (!wxPyCheckForApp()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13371 wxBitmap
* resultptr
;
13372 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13381 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13384 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13386 return Py_BuildValue((char *)"");
13388 static int _wrap_NullImage_set(PyObject
*) {
13389 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13394 static PyObject
*_wrap_NullImage_get(void) {
13397 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13402 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13403 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13408 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13413 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13415 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13422 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13423 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13428 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13433 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13435 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13442 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13443 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13448 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13453 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13455 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13462 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13463 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13468 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13473 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13475 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13482 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13483 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13488 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13493 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13495 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13502 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13503 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13508 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13513 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13515 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13522 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13523 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13528 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13533 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13535 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13542 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13543 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13548 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13553 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13555 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13562 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13563 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13568 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13573 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13575 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13582 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13583 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13588 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13593 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13595 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13602 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13603 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13608 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13613 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13615 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13622 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13623 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13628 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13633 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13635 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13642 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13643 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13648 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13653 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13655 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13662 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxBMPHandler
*result
;
13665 char *kwnames
[] = {
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (wxBMPHandler
*)new wxBMPHandler();
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13684 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13687 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13689 return Py_BuildValue((char *)"");
13691 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxICOHandler
*result
;
13694 char *kwnames
[] = {
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= (wxICOHandler
*)new wxICOHandler();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13713 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13716 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13718 return Py_BuildValue((char *)"");
13720 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxCURHandler
*result
;
13723 char *kwnames
[] = {
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (wxCURHandler
*)new wxCURHandler();
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13742 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13745 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13747 return Py_BuildValue((char *)"");
13749 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxANIHandler
*result
;
13752 char *kwnames
[] = {
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (wxANIHandler
*)new wxANIHandler();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13771 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13774 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13776 return Py_BuildValue((char *)"");
13778 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxPNGHandler
*result
;
13781 char *kwnames
[] = {
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (wxPNGHandler
*)new wxPNGHandler();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13800 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13803 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13805 return Py_BuildValue((char *)"");
13807 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxGIFHandler
*result
;
13810 char *kwnames
[] = {
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (wxGIFHandler
*)new wxGIFHandler();
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13829 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13832 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13834 return Py_BuildValue((char *)"");
13836 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxPCXHandler
*result
;
13839 char *kwnames
[] = {
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (wxPCXHandler
*)new wxPCXHandler();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13858 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13861 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13863 return Py_BuildValue((char *)"");
13865 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxJPEGHandler
*result
;
13868 char *kwnames
[] = {
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13887 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13890 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13892 return Py_BuildValue((char *)"");
13894 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxPNMHandler
*result
;
13897 char *kwnames
[] = {
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (wxPNMHandler
*)new wxPNMHandler();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13916 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13919 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13921 return Py_BuildValue((char *)"");
13923 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxXPMHandler
*result
;
13926 char *kwnames
[] = {
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (wxXPMHandler
*)new wxXPMHandler();
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13945 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13948 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13950 return Py_BuildValue((char *)"");
13952 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxTIFFHandler
*result
;
13955 char *kwnames
[] = {
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13974 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13977 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13979 return Py_BuildValue((char *)"");
13981 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
;
13983 wxImage
*arg1
= 0 ;
13984 wxImage
*arg2
= 0 ;
13985 int arg3
= (int) 236 ;
13986 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13988 PyObject
* obj0
= 0 ;
13989 PyObject
* obj1
= 0 ;
13990 PyObject
* obj2
= 0 ;
13991 PyObject
* obj3
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13999 if (SWIG_arg_fail(1)) SWIG_fail
;
14000 if (arg1
== NULL
) {
14001 SWIG_null_ref("wxImage");
14003 if (SWIG_arg_fail(1)) SWIG_fail
;
14006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14007 if (SWIG_arg_fail(2)) SWIG_fail
;
14008 if (arg2
== NULL
) {
14009 SWIG_null_ref("wxImage");
14011 if (SWIG_arg_fail(2)) SWIG_fail
;
14015 arg3
= (int)(SWIG_As_int(obj2
));
14016 if (SWIG_arg_fail(3)) SWIG_fail
;
14021 arg4
= (int)(SWIG_As_int(obj3
));
14022 if (SWIG_arg_fail(4)) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14041 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14044 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14046 return Py_BuildValue((char *)"");
14048 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxEvtHandler
*result
;
14051 char *kwnames
[] = {
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (wxEvtHandler
*)new wxEvtHandler();
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14070 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14073 wxEvtHandler
*result
;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= wxPyMake_wxObject(result
, 0);
14098 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
;
14100 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14101 wxEvtHandler
*result
;
14102 PyObject
* obj0
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= wxPyMake_wxObject(result
, 0);
14126 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14129 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14130 PyObject
* obj0
= 0 ;
14131 PyObject
* obj1
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self",(char *) "handler", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14138 if (SWIG_arg_fail(1)) SWIG_fail
;
14139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14140 if (SWIG_arg_fail(2)) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 (arg1
)->SetNextHandler(arg2
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 Py_INCREF(Py_None
); resultobj
= Py_None
;
14155 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14158 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self",(char *) "handler", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail
;
14168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14169 if (SWIG_arg_fail(2)) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->SetPreviousHandler(arg2
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14188 PyObject
* obj0
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14195 if (SWIG_arg_fail(1)) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14212 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "enabled", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14224 if (SWIG_arg_fail(1)) SWIG_fail
;
14226 arg2
= (bool)(SWIG_As_bool(obj1
));
14227 if (SWIG_arg_fail(2)) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 (arg1
)->SetEvtHandlerEnabled(arg2
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 Py_INCREF(Py_None
); resultobj
= Py_None
;
14243 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14246 wxEvent
*arg2
= 0 ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self",(char *) "event", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14256 if (SWIG_arg_fail(1)) SWIG_fail
;
14258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14259 if (SWIG_arg_fail(2)) SWIG_fail
;
14260 if (arg2
== NULL
) {
14261 SWIG_null_ref("wxEvent");
14263 if (SWIG_arg_fail(2)) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14281 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14284 wxEvent
*arg2
= 0 ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "event", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14293 if (SWIG_arg_fail(1)) SWIG_fail
;
14295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14296 if (SWIG_arg_fail(2)) SWIG_fail
;
14297 if (arg2
== NULL
) {
14298 SWIG_null_ref("wxEvent");
14300 if (SWIG_arg_fail(2)) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->AddPendingEvent(*arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 Py_INCREF(Py_None
); resultobj
= Py_None
;
14316 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14326 if (SWIG_arg_fail(1)) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 (arg1
)->ProcessPendingEvents();
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 Py_INCREF(Py_None
); resultobj
= Py_None
;
14341 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14347 PyObject
*arg5
= (PyObject
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 PyObject
* obj1
= 0 ;
14350 PyObject
* obj2
= 0 ;
14351 PyObject
* obj3
= 0 ;
14352 PyObject
* obj4
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail
;
14361 arg2
= (int)(SWIG_As_int(obj1
));
14362 if (SWIG_arg_fail(2)) SWIG_fail
;
14365 arg3
= (int)(SWIG_As_int(obj2
));
14366 if (SWIG_arg_fail(3)) SWIG_fail
;
14369 arg4
= (int)(SWIG_As_int(obj3
));
14370 if (SWIG_arg_fail(4)) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 Py_INCREF(Py_None
); resultobj
= Py_None
;
14387 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14391 int arg3
= (int) -1 ;
14392 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14394 PyObject
* obj0
= 0 ;
14395 PyObject
* obj1
= 0 ;
14396 PyObject
* obj2
= 0 ;
14397 PyObject
* obj3
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14404 if (SWIG_arg_fail(1)) SWIG_fail
;
14406 arg2
= (int)(SWIG_As_int(obj1
));
14407 if (SWIG_arg_fail(2)) SWIG_fail
;
14411 arg3
= (int)(SWIG_As_int(obj2
));
14412 if (SWIG_arg_fail(3)) SWIG_fail
;
14417 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14418 if (SWIG_arg_fail(4)) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14437 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14440 PyObject
*arg2
= (PyObject
*) 0 ;
14441 bool arg3
= (bool) true ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "_self",(char *) "incref", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail
;
14455 arg3
= (bool)(SWIG_As_bool(obj2
));
14456 if (SWIG_arg_fail(3)) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14476 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14478 return Py_BuildValue((char *)"");
14480 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
;
14482 wxEventType result
;
14483 char *kwnames
[] = {
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (wxEventType
)wxNewEventType();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_From_int((int)(result
));
14504 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxEvent
*arg1
= (wxEvent
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14514 if (SWIG_arg_fail(1)) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14529 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxEvent
*arg1
= (wxEvent
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self",(char *) "typ", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14541 if (SWIG_arg_fail(1)) SWIG_fail
;
14543 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14544 if (SWIG_arg_fail(2)) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 (arg1
)->SetEventType(arg2
);
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 Py_INCREF(Py_None
); resultobj
= Py_None
;
14560 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxEvent
*arg1
= (wxEvent
*) 0 ;
14563 wxEventType result
;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14571 if (SWIG_arg_fail(1)) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_From_int((int)(result
));
14588 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxEvent
*arg1
= (wxEvent
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14599 if (SWIG_arg_fail(1)) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= wxPyMake_wxObject(result
, 0);
14616 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxEvent
*arg1
= (wxEvent
*) 0 ;
14619 wxObject
*arg2
= (wxObject
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "obj", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14628 if (SWIG_arg_fail(1)) SWIG_fail
;
14629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14630 if (SWIG_arg_fail(2)) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 (arg1
)->SetEventObject(arg2
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 Py_INCREF(Py_None
); resultobj
= Py_None
;
14645 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxEvent
*arg1
= (wxEvent
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14656 if (SWIG_arg_fail(1)) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_From_long((long)(result
));
14673 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxEvent
*arg1
= (wxEvent
*) 0 ;
14676 long arg2
= (long) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self",(char *) "ts", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14685 if (SWIG_arg_fail(1)) SWIG_fail
;
14688 arg2
= (long)(SWIG_As_long(obj1
));
14689 if (SWIG_arg_fail(2)) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 (arg1
)->SetTimestamp(arg2
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 Py_INCREF(Py_None
); resultobj
= Py_None
;
14706 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxEvent
*arg1
= (wxEvent
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14717 if (SWIG_arg_fail(1)) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (int)((wxEvent
const *)arg1
)->GetId();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_From_int((int)(result
));
14734 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxEvent
*arg1
= (wxEvent
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self",(char *) "Id", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14746 if (SWIG_arg_fail(1)) SWIG_fail
;
14748 arg2
= (int)(SWIG_As_int(obj1
));
14749 if (SWIG_arg_fail(2)) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->SetId(arg2
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 Py_INCREF(Py_None
); resultobj
= Py_None
;
14765 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxEvent
*arg1
= (wxEvent
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14776 if (SWIG_arg_fail(1)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxEvent
*arg1
= (wxEvent
*) 0 ;
14796 bool arg2
= (bool) true ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "skip", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail
;
14808 arg2
= (bool)(SWIG_As_bool(obj1
));
14809 if (SWIG_arg_fail(2)) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 (arg1
)->Skip(arg2
);
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 Py_INCREF(Py_None
); resultobj
= Py_None
;
14826 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxEvent
*arg1
= (wxEvent
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14837 if (SWIG_arg_fail(1)) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxEvent
*arg1
= (wxEvent
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14865 if (SWIG_arg_fail(1)) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14882 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxEvent
*arg1
= (wxEvent
*) 0 ;
14886 PyObject
* obj0
= 0 ;
14887 char *kwnames
[] = {
14888 (char *) "self", NULL
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14893 if (SWIG_arg_fail(1)) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (int)(arg1
)->StopPropagation();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_From_int((int)(result
));
14910 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxEvent
*arg1
= (wxEvent
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self",(char *) "propagationLevel", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14922 if (SWIG_arg_fail(1)) SWIG_fail
;
14924 arg2
= (int)(SWIG_As_int(obj1
));
14925 if (SWIG_arg_fail(2)) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 (arg1
)->ResumePropagation(arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 Py_INCREF(Py_None
); resultobj
= Py_None
;
14941 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxEvent
*arg1
= (wxEvent
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14952 if (SWIG_arg_fail(1)) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (wxEvent
*)(arg1
)->Clone();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14967 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14970 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14972 return Py_BuildValue((char *)"");
14974 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxEvent
*arg1
= 0 ;
14977 wxPropagationDisabler
*result
;
14978 PyObject
* obj0
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "event", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14986 if (SWIG_arg_fail(1)) SWIG_fail
;
14987 if (arg1
== NULL
) {
14988 SWIG_null_ref("wxEvent");
14990 if (SWIG_arg_fail(1)) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15006 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15016 if (SWIG_arg_fail(1)) SWIG_fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 Py_INCREF(Py_None
); resultobj
= Py_None
;
15031 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15034 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15036 return Py_BuildValue((char *)"");
15038 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxEvent
*arg1
= 0 ;
15041 wxPropagateOnce
*result
;
15042 PyObject
* obj0
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "event", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15050 if (SWIG_arg_fail(1)) SWIG_fail
;
15051 if (arg1
== NULL
) {
15052 SWIG_null_ref("wxEvent");
15054 if (SWIG_arg_fail(1)) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15070 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 Py_INCREF(Py_None
); resultobj
= Py_None
;
15095 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15098 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15100 return Py_BuildValue((char *)"");
15102 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15105 int arg2
= (int) 0 ;
15106 wxCommandEvent
*result
;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "commandType",(char *) "winid", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15116 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15117 if (SWIG_arg_fail(1)) SWIG_fail
;
15122 arg2
= (int)(SWIG_As_int(obj1
));
15123 if (SWIG_arg_fail(2)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15140 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15151 if (SWIG_arg_fail(1)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_From_int((int)(result
));
15168 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15171 wxString
*arg2
= 0 ;
15172 bool temp2
= false ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self",(char *) "s", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail
;
15183 arg2
= wxString_in_helper(obj1
);
15184 if (arg2
== NULL
) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 (arg1
)->SetString((wxString
const &)*arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 Py_INCREF(Py_None
); resultobj
= Py_None
;
15209 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15241 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15269 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15280 if (SWIG_arg_fail(1)) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15297 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "extraLong", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail
;
15311 arg2
= (long)(SWIG_As_long(obj1
));
15312 if (SWIG_arg_fail(2)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 (arg1
)->SetExtraLong(arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15339 if (SWIG_arg_fail(1)) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_From_long((long)(result
));
15356 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "i", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 arg2
= (int)(SWIG_As_int(obj1
));
15371 if (SWIG_arg_fail(2)) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 (arg1
)->SetInt(arg2
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 Py_INCREF(Py_None
); resultobj
= Py_None
;
15387 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_From_long((long)(result
));
15415 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15426 if (SWIG_arg_fail(1)) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15441 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15444 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15446 return Py_BuildValue((char *)"");
15448 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15451 int arg2
= (int) 0 ;
15452 wxNotifyEvent
*result
;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "commandType",(char *) "winid", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15462 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15463 if (SWIG_arg_fail(1)) SWIG_fail
;
15468 arg2
= (int)(SWIG_As_int(obj1
));
15469 if (SWIG_arg_fail(2)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15486 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15496 if (SWIG_arg_fail(1)) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 Py_INCREF(Py_None
); resultobj
= Py_None
;
15511 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15514 PyObject
* obj0
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15521 if (SWIG_arg_fail(1)) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (bool)(arg1
)->IsAllowed();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15564 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15567 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15569 return Py_BuildValue((char *)"");
15571 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15574 int arg2
= (int) 0 ;
15575 int arg3
= (int) 0 ;
15576 int arg4
= (int) 0 ;
15577 wxScrollEvent
*result
;
15578 PyObject
* obj0
= 0 ;
15579 PyObject
* obj1
= 0 ;
15580 PyObject
* obj2
= 0 ;
15581 PyObject
* obj3
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15589 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15590 if (SWIG_arg_fail(1)) SWIG_fail
;
15595 arg2
= (int)(SWIG_As_int(obj1
));
15596 if (SWIG_arg_fail(2)) SWIG_fail
;
15601 arg3
= (int)(SWIG_As_int(obj2
));
15602 if (SWIG_arg_fail(3)) SWIG_fail
;
15607 arg4
= (int)(SWIG_As_int(obj3
));
15608 if (SWIG_arg_fail(4)) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15625 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15636 if (SWIG_arg_fail(1)) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_From_int((int)(result
));
15653 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15664 if (SWIG_arg_fail(1)) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_From_int((int)(result
));
15681 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "orient", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15693 if (SWIG_arg_fail(1)) SWIG_fail
;
15695 arg2
= (int)(SWIG_As_int(obj1
));
15696 if (SWIG_arg_fail(2)) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->SetOrientation(arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 Py_INCREF(Py_None
); resultobj
= Py_None
;
15712 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self",(char *) "pos", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail
;
15726 arg2
= (int)(SWIG_As_int(obj1
));
15727 if (SWIG_arg_fail(2)) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 (arg1
)->SetPosition(arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15746 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15748 return Py_BuildValue((char *)"");
15750 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15753 int arg2
= (int) 0 ;
15754 int arg3
= (int) 0 ;
15755 wxScrollWinEvent
*result
;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 PyObject
* obj2
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15766 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15767 if (SWIG_arg_fail(1)) SWIG_fail
;
15772 arg2
= (int)(SWIG_As_int(obj1
));
15773 if (SWIG_arg_fail(2)) SWIG_fail
;
15778 arg3
= (int)(SWIG_As_int(obj2
));
15779 if (SWIG_arg_fail(3)) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15796 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15807 if (SWIG_arg_fail(1)) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= SWIG_From_int((int)(result
));
15824 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15835 if (SWIG_arg_fail(1)) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_From_int((int)(result
));
15852 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self",(char *) "orient", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15864 if (SWIG_arg_fail(1)) SWIG_fail
;
15866 arg2
= (int)(SWIG_As_int(obj1
));
15867 if (SWIG_arg_fail(2)) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 (arg1
)->SetOrientation(arg2
);
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 Py_INCREF(Py_None
); resultobj
= Py_None
;
15883 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self",(char *) "pos", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15895 if (SWIG_arg_fail(1)) SWIG_fail
;
15897 arg2
= (int)(SWIG_As_int(obj1
));
15898 if (SWIG_arg_fail(2)) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 (arg1
)->SetPosition(arg2
);
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 Py_INCREF(Py_None
); resultobj
= Py_None
;
15914 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15917 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15919 return Py_BuildValue((char *)"");
15921 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15924 wxMouseEvent
*result
;
15925 PyObject
* obj0
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "mouseType", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15933 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15934 if (SWIG_arg_fail(1)) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= wxPyMake_wxObject(result
, 1);
15953 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15964 if (SWIG_arg_fail(1)) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15981 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15984 int arg2
= (int) wxMOUSE_BTN_ANY
;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self",(char *) "but", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15994 if (SWIG_arg_fail(1)) SWIG_fail
;
15997 arg2
= (int)(SWIG_As_int(obj1
));
15998 if (SWIG_arg_fail(2)) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16017 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16020 int arg2
= (int) wxMOUSE_BTN_ANY
;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "but", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16030 if (SWIG_arg_fail(1)) SWIG_fail
;
16033 arg2
= (int)(SWIG_As_int(obj1
));
16034 if (SWIG_arg_fail(2)) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16056 int arg2
= (int) wxMOUSE_BTN_ANY
;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "but", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16069 arg2
= (int)(SWIG_As_int(obj1
));
16070 if (SWIG_arg_fail(2)) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16089 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self",(char *) "but", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16102 if (SWIG_arg_fail(1)) SWIG_fail
;
16104 arg2
= (int)(SWIG_As_int(obj1
));
16105 if (SWIG_arg_fail(2)) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16123 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self",(char *) "but", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16136 if (SWIG_arg_fail(1)) SWIG_fail
;
16138 arg2
= (int)(SWIG_As_int(obj1
));
16139 if (SWIG_arg_fail(2)) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16157 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16168 if (SWIG_arg_fail(1)) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_From_int((int)(result
));
16185 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16196 if (SWIG_arg_fail(1)) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16213 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16224 if (SWIG_arg_fail(1)) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16252 if (SWIG_arg_fail(1)) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16269 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16280 if (SWIG_arg_fail(1)) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16297 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16308 if (SWIG_arg_fail(1)) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16325 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16336 if (SWIG_arg_fail(1)) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16353 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16364 if (SWIG_arg_fail(1)) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16381 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16392 if (SWIG_arg_fail(1)) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16409 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16420 if (SWIG_arg_fail(1)) SWIG_fail
;
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16437 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16448 if (SWIG_arg_fail(1)) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16465 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
;
16467 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16469 PyObject
* obj0
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16476 if (SWIG_arg_fail(1)) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16493 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16504 if (SWIG_arg_fail(1)) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16521 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16532 if (SWIG_arg_fail(1)) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16549 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16560 if (SWIG_arg_fail(1)) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16588 if (SWIG_arg_fail(1)) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (bool)(arg1
)->LeftIsDown();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16605 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)(arg1
)->MiddleIsDown();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (bool)(arg1
)->RightIsDown();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16661 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16672 if (SWIG_arg_fail(1)) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16689 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16717 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16728 if (SWIG_arg_fail(1)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16756 if (SWIG_arg_fail(1)) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16773 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (arg1
)->GetPosition();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 wxPoint
* resultptr
;
16794 resultptr
= new wxPoint((wxPoint
&)(result
));
16795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16803 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16806 long *arg2
= (long *) 0 ;
16807 long *arg3
= (long *) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self", NULL
16817 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16818 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16821 if (SWIG_arg_fail(1)) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 (arg1
)->GetPosition(arg2
,arg3
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 Py_INCREF(Py_None
); resultobj
= Py_None
;
16830 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16831 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16832 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16833 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16840 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "dc", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16853 if (SWIG_arg_fail(1)) SWIG_fail
;
16855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16856 if (SWIG_arg_fail(2)) SWIG_fail
;
16857 if (arg2
== NULL
) {
16858 SWIG_null_ref("wxDC");
16860 if (SWIG_arg_fail(2)) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 wxPoint
* resultptr
;
16871 resultptr
= new wxPoint((wxPoint
&)(result
));
16872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16880 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_From_int((int)(result
));
16908 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16919 if (SWIG_arg_fail(1)) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_From_int((int)(result
));
16936 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16947 if (SWIG_arg_fail(1)) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= SWIG_From_int((int)(result
));
16964 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16975 if (SWIG_arg_fail(1)) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= SWIG_From_int((int)(result
));
16992 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17003 if (SWIG_arg_fail(1)) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= SWIG_From_int((int)(result
));
17020 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17031 if (SWIG_arg_fail(1)) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17048 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self",(char *) "m_x", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17060 if (SWIG_arg_fail(1)) SWIG_fail
;
17062 arg2
= (int)(SWIG_As_int(obj1
));
17063 if (SWIG_arg_fail(2)) SWIG_fail
;
17065 if (arg1
) (arg1
)->m_x
= arg2
;
17067 Py_INCREF(Py_None
); resultobj
= Py_None
;
17074 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17085 if (SWIG_arg_fail(1)) SWIG_fail
;
17086 result
= (int) ((arg1
)->m_x
);
17089 resultobj
= SWIG_From_int((int)(result
));
17097 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self",(char *) "m_y", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17109 if (SWIG_arg_fail(1)) SWIG_fail
;
17111 arg2
= (int)(SWIG_As_int(obj1
));
17112 if (SWIG_arg_fail(2)) SWIG_fail
;
17114 if (arg1
) (arg1
)->m_y
= arg2
;
17116 Py_INCREF(Py_None
); resultobj
= Py_None
;
17123 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17127 PyObject
* obj0
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "self", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17134 if (SWIG_arg_fail(1)) SWIG_fail
;
17135 result
= (int) ((arg1
)->m_y
);
17138 resultobj
= SWIG_From_int((int)(result
));
17146 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "m_leftDown", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail
;
17160 arg2
= (bool)(SWIG_As_bool(obj1
));
17161 if (SWIG_arg_fail(2)) SWIG_fail
;
17163 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17165 Py_INCREF(Py_None
); resultobj
= Py_None
;
17172 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17183 if (SWIG_arg_fail(1)) SWIG_fail
;
17184 result
= (bool) ((arg1
)->m_leftDown
);
17187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17195 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self",(char *) "m_middleDown", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17207 if (SWIG_arg_fail(1)) SWIG_fail
;
17209 arg2
= (bool)(SWIG_As_bool(obj1
));
17210 if (SWIG_arg_fail(2)) SWIG_fail
;
17212 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17214 Py_INCREF(Py_None
); resultobj
= Py_None
;
17221 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17232 if (SWIG_arg_fail(1)) SWIG_fail
;
17233 result
= (bool) ((arg1
)->m_middleDown
);
17236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17244 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self",(char *) "m_rightDown", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail
;
17258 arg2
= (bool)(SWIG_As_bool(obj1
));
17259 if (SWIG_arg_fail(2)) SWIG_fail
;
17261 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17263 Py_INCREF(Py_None
); resultobj
= Py_None
;
17270 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17281 if (SWIG_arg_fail(1)) SWIG_fail
;
17282 result
= (bool) ((arg1
)->m_rightDown
);
17285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17293 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "m_controlDown", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail
;
17307 arg2
= (bool)(SWIG_As_bool(obj1
));
17308 if (SWIG_arg_fail(2)) SWIG_fail
;
17310 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17312 Py_INCREF(Py_None
); resultobj
= Py_None
;
17319 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17330 if (SWIG_arg_fail(1)) SWIG_fail
;
17331 result
= (bool) ((arg1
)->m_controlDown
);
17334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17342 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self",(char *) "m_shiftDown", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17354 if (SWIG_arg_fail(1)) SWIG_fail
;
17356 arg2
= (bool)(SWIG_As_bool(obj1
));
17357 if (SWIG_arg_fail(2)) SWIG_fail
;
17359 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17361 Py_INCREF(Py_None
); resultobj
= Py_None
;
17368 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17379 if (SWIG_arg_fail(1)) SWIG_fail
;
17380 result
= (bool) ((arg1
)->m_shiftDown
);
17383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17391 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "m_altDown", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17403 if (SWIG_arg_fail(1)) SWIG_fail
;
17405 arg2
= (bool)(SWIG_As_bool(obj1
));
17406 if (SWIG_arg_fail(2)) SWIG_fail
;
17408 if (arg1
) (arg1
)->m_altDown
= arg2
;
17410 Py_INCREF(Py_None
); resultobj
= Py_None
;
17417 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17428 if (SWIG_arg_fail(1)) SWIG_fail
;
17429 result
= (bool) ((arg1
)->m_altDown
);
17432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17440 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self",(char *) "m_metaDown", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail
;
17454 arg2
= (bool)(SWIG_As_bool(obj1
));
17455 if (SWIG_arg_fail(2)) SWIG_fail
;
17457 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17459 Py_INCREF(Py_None
); resultobj
= Py_None
;
17466 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17477 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 result
= (bool) ((arg1
)->m_metaDown
);
17481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17489 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self",(char *) "m_wheelRotation", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17501 if (SWIG_arg_fail(1)) SWIG_fail
;
17503 arg2
= (int)(SWIG_As_int(obj1
));
17504 if (SWIG_arg_fail(2)) SWIG_fail
;
17506 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17508 Py_INCREF(Py_None
); resultobj
= Py_None
;
17515 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17526 if (SWIG_arg_fail(1)) SWIG_fail
;
17527 result
= (int) ((arg1
)->m_wheelRotation
);
17530 resultobj
= SWIG_From_int((int)(result
));
17538 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "m_wheelDelta", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17550 if (SWIG_arg_fail(1)) SWIG_fail
;
17552 arg2
= (int)(SWIG_As_int(obj1
));
17553 if (SWIG_arg_fail(2)) SWIG_fail
;
17555 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17557 Py_INCREF(Py_None
); resultobj
= Py_None
;
17564 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17576 result
= (int) ((arg1
)->m_wheelDelta
);
17579 resultobj
= SWIG_From_int((int)(result
));
17587 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self",(char *) "m_linesPerAction", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17599 if (SWIG_arg_fail(1)) SWIG_fail
;
17601 arg2
= (int)(SWIG_As_int(obj1
));
17602 if (SWIG_arg_fail(2)) SWIG_fail
;
17604 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17606 Py_INCREF(Py_None
); resultobj
= Py_None
;
17613 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17624 if (SWIG_arg_fail(1)) SWIG_fail
;
17625 result
= (int) ((arg1
)->m_linesPerAction
);
17628 resultobj
= SWIG_From_int((int)(result
));
17636 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17639 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17641 return Py_BuildValue((char *)"");
17643 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 int arg1
= (int) 0 ;
17646 int arg2
= (int) 0 ;
17647 wxSetCursorEvent
*result
;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "x",(char *) "y", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17657 arg1
= (int)(SWIG_As_int(obj0
));
17658 if (SWIG_arg_fail(1)) SWIG_fail
;
17663 arg2
= (int)(SWIG_As_int(obj1
));
17664 if (SWIG_arg_fail(2)) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17681 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17692 if (SWIG_arg_fail(1)) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= SWIG_From_int((int)(result
));
17709 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17720 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_From_int((int)(result
));
17737 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17740 wxCursor
*arg2
= 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "cursor", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail
;
17751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17752 if (SWIG_arg_fail(2)) SWIG_fail
;
17753 if (arg2
== NULL
) {
17754 SWIG_null_ref("wxCursor");
17756 if (SWIG_arg_fail(2)) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 Py_INCREF(Py_None
); resultobj
= Py_None
;
17772 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17776 PyObject
* obj0
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17783 if (SWIG_arg_fail(1)) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17788 result
= (wxCursor
*) &_result_ref
;
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17795 wxCursor
* resultptr
= new wxCursor(*result
);
17796 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17804 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17815 if (SWIG_arg_fail(1)) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17832 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17835 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17837 return Py_BuildValue((char *)"");
17839 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17842 wxKeyEvent
*result
;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "keyType", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17851 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17852 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17869 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17880 if (SWIG_arg_fail(1)) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17897 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17908 if (SWIG_arg_fail(1)) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17925 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17936 if (SWIG_arg_fail(1)) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17953 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17964 if (SWIG_arg_fail(1)) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17981 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17992 if (SWIG_arg_fail(1)) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18009 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18020 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18037 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18048 if (SWIG_arg_fail(1)) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_From_int((int)(result
));
18065 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= SWIG_From_int((int)(result
));
18093 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18096 unsigned int result
;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18121 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18124 unsigned int result
;
18125 PyObject
* obj0
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18132 if (SWIG_arg_fail(1)) SWIG_fail
;
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18149 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18160 if (SWIG_arg_fail(1)) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (arg1
)->GetPosition();
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18169 wxPoint
* resultptr
;
18170 resultptr
= new wxPoint((wxPoint
&)(result
));
18171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18179 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18182 long *arg2
= (long *) 0 ;
18183 long *arg3
= (long *) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18194 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18197 if (SWIG_arg_fail(1)) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 (arg1
)->GetPosition(arg2
,arg3
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 Py_INCREF(Py_None
); resultobj
= Py_None
;
18206 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18207 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18208 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18209 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18216 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18227 if (SWIG_arg_fail(1)) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18236 resultobj
= SWIG_From_int((int)(result
));
18244 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18255 if (SWIG_arg_fail(1)) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= SWIG_From_int((int)(result
));
18272 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self",(char *) "m_x", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail
;
18286 arg2
= (int)(SWIG_As_int(obj1
));
18287 if (SWIG_arg_fail(2)) SWIG_fail
;
18289 if (arg1
) (arg1
)->m_x
= arg2
;
18291 Py_INCREF(Py_None
); resultobj
= Py_None
;
18298 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18309 if (SWIG_arg_fail(1)) SWIG_fail
;
18310 result
= (int) ((arg1
)->m_x
);
18313 resultobj
= SWIG_From_int((int)(result
));
18321 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "m_y", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18335 arg2
= (int)(SWIG_As_int(obj1
));
18336 if (SWIG_arg_fail(2)) SWIG_fail
;
18338 if (arg1
) (arg1
)->m_y
= arg2
;
18340 Py_INCREF(Py_None
); resultobj
= Py_None
;
18347 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18359 result
= (int) ((arg1
)->m_y
);
18362 resultobj
= SWIG_From_int((int)(result
));
18370 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "m_keyCode", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail
;
18384 arg2
= (long)(SWIG_As_long(obj1
));
18385 if (SWIG_arg_fail(2)) SWIG_fail
;
18387 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18389 Py_INCREF(Py_None
); resultobj
= Py_None
;
18396 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18407 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 result
= (long) ((arg1
)->m_keyCode
);
18411 resultobj
= SWIG_From_long((long)(result
));
18419 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 PyObject
* obj1
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self",(char *) "m_controlDown", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail
;
18433 arg2
= (bool)(SWIG_As_bool(obj1
));
18434 if (SWIG_arg_fail(2)) SWIG_fail
;
18436 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18438 Py_INCREF(Py_None
); resultobj
= Py_None
;
18445 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "self", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18456 if (SWIG_arg_fail(1)) SWIG_fail
;
18457 result
= (bool) ((arg1
)->m_controlDown
);
18460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18468 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self",(char *) "m_shiftDown", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18480 if (SWIG_arg_fail(1)) SWIG_fail
;
18482 arg2
= (bool)(SWIG_As_bool(obj1
));
18483 if (SWIG_arg_fail(2)) SWIG_fail
;
18485 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18487 Py_INCREF(Py_None
); resultobj
= Py_None
;
18494 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18505 if (SWIG_arg_fail(1)) SWIG_fail
;
18506 result
= (bool) ((arg1
)->m_shiftDown
);
18509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18517 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "m_altDown", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 arg2
= (bool)(SWIG_As_bool(obj1
));
18532 if (SWIG_arg_fail(2)) SWIG_fail
;
18534 if (arg1
) (arg1
)->m_altDown
= arg2
;
18536 Py_INCREF(Py_None
); resultobj
= Py_None
;
18543 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail
;
18555 result
= (bool) ((arg1
)->m_altDown
);
18558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18566 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "m_metaDown", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18578 if (SWIG_arg_fail(1)) SWIG_fail
;
18580 arg2
= (bool)(SWIG_As_bool(obj1
));
18581 if (SWIG_arg_fail(2)) SWIG_fail
;
18583 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18592 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18603 if (SWIG_arg_fail(1)) SWIG_fail
;
18604 result
= (bool) ((arg1
)->m_metaDown
);
18607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18615 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "m_scanCode", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18627 if (SWIG_arg_fail(1)) SWIG_fail
;
18629 arg2
= (bool)(SWIG_As_bool(obj1
));
18630 if (SWIG_arg_fail(2)) SWIG_fail
;
18632 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18634 Py_INCREF(Py_None
); resultobj
= Py_None
;
18641 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18652 if (SWIG_arg_fail(1)) SWIG_fail
;
18653 result
= (bool) ((arg1
)->m_scanCode
);
18656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18664 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18667 unsigned int arg2
;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self",(char *) "m_rawCode", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18676 if (SWIG_arg_fail(1)) SWIG_fail
;
18678 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18679 if (SWIG_arg_fail(2)) SWIG_fail
;
18681 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18683 Py_INCREF(Py_None
); resultobj
= Py_None
;
18690 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18693 unsigned int result
;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail
;
18702 result
= (unsigned int) ((arg1
)->m_rawCode
);
18705 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18713 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18716 unsigned int arg2
;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self",(char *) "m_rawFlags", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18725 if (SWIG_arg_fail(1)) SWIG_fail
;
18727 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18728 if (SWIG_arg_fail(2)) SWIG_fail
;
18730 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18732 Py_INCREF(Py_None
); resultobj
= Py_None
;
18739 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18742 unsigned int result
;
18743 PyObject
* obj0
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18750 if (SWIG_arg_fail(1)) SWIG_fail
;
18751 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18754 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18762 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18765 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18767 return Py_BuildValue((char *)"");
18769 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18772 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18773 int arg2
= (int) 0 ;
18774 wxSizeEvent
*result
;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "sz",(char *) "winid", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18786 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18791 arg2
= (int)(SWIG_As_int(obj1
));
18792 if (SWIG_arg_fail(2)) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18809 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18820 if (SWIG_arg_fail(1)) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 wxSize
* resultptr
;
18830 resultptr
= new wxSize((wxSize
&)(result
));
18831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18839 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18850 if (SWIG_arg_fail(1)) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 wxRect
* resultptr
;
18860 resultptr
= new wxRect((wxRect
&)(result
));
18861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18869 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj1
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self",(char *) "rect", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18881 if (SWIG_arg_fail(1)) SWIG_fail
;
18884 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18885 if (SWIG_arg_fail(2)) SWIG_fail
;
18886 if (argp
== NULL
) {
18887 SWIG_null_ref("wxRect");
18889 if (SWIG_arg_fail(2)) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 (arg1
)->SetRect(arg2
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 Py_INCREF(Py_None
); resultobj
= Py_None
;
18906 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 PyObject
* obj1
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "size", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18918 if (SWIG_arg_fail(1)) SWIG_fail
;
18921 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18922 if (SWIG_arg_fail(2)) SWIG_fail
;
18923 if (argp
== NULL
) {
18924 SWIG_null_ref("wxSize");
18926 if (SWIG_arg_fail(2)) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 wxSizeEvent_SetSize(arg1
,arg2
);
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 Py_INCREF(Py_None
); resultobj
= Py_None
;
18943 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18946 wxSize
*arg2
= (wxSize
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self",(char *) "m_size", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail
;
18956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18957 if (SWIG_arg_fail(2)) SWIG_fail
;
18958 if (arg1
) (arg1
)->m_size
= *arg2
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18978 if (SWIG_arg_fail(1)) SWIG_fail
;
18979 result
= (wxSize
*)& ((arg1
)->m_size
);
18981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18988 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18991 wxRect
*arg2
= (wxRect
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "m_rect", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19000 if (SWIG_arg_fail(1)) SWIG_fail
;
19001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19002 if (SWIG_arg_fail(2)) SWIG_fail
;
19003 if (arg1
) (arg1
)->m_rect
= *arg2
;
19005 Py_INCREF(Py_None
); resultobj
= Py_None
;
19012 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19023 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 result
= (wxRect
*)& ((arg1
)->m_rect
);
19026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19033 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19036 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19038 return Py_BuildValue((char *)"");
19040 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19043 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19044 int arg2
= (int) 0 ;
19045 wxMoveEvent
*result
;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "pos",(char *) "winid", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19062 arg2
= (int)(SWIG_As_int(obj1
));
19063 if (SWIG_arg_fail(2)) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19080 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19100 wxPoint
* resultptr
;
19101 resultptr
= new wxPoint((wxPoint
&)(result
));
19102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19110 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
;
19112 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19121 if (SWIG_arg_fail(1)) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19130 wxRect
* resultptr
;
19131 resultptr
= new wxRect((wxRect
&)(result
));
19132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19140 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "rect", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19153 if (SWIG_arg_fail(1)) SWIG_fail
;
19156 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 (arg1
)->SetRect((wxRect
const &)*arg2
);
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 Py_INCREF(Py_None
); resultobj
= Py_None
;
19172 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19175 wxPoint
*arg2
= 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "pos", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19185 if (SWIG_arg_fail(1)) SWIG_fail
;
19188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 Py_INCREF(Py_None
); resultobj
= Py_None
;
19204 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19207 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19209 return Py_BuildValue((char *)"");
19211 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 int arg1
= (int) 0 ;
19214 wxPaintEvent
*result
;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "Id", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19223 arg1
= (int)(SWIG_As_int(obj0
));
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19241 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19244 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19246 return Py_BuildValue((char *)"");
19248 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 int arg1
= (int) 0 ;
19251 wxNcPaintEvent
*result
;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "winid", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19260 arg1
= (int)(SWIG_As_int(obj0
));
19261 if (SWIG_arg_fail(1)) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19278 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19281 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19283 return Py_BuildValue((char *)"");
19285 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 int arg1
= (int) 0 ;
19288 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19289 wxEraseEvent
*result
;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "Id",(char *) "dc", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19299 arg1
= (int)(SWIG_As_int(obj0
));
19300 if (SWIG_arg_fail(1)) SWIG_fail
;
19304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19305 if (SWIG_arg_fail(2)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19321 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19332 if (SWIG_arg_fail(1)) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= wxPyMake_wxObject(result
, 0);
19349 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19354 return Py_BuildValue((char *)"");
19356 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19359 int arg2
= (int) 0 ;
19360 wxFocusEvent
*result
;
19361 PyObject
* obj0
= 0 ;
19362 PyObject
* obj1
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "type",(char *) "winid", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19370 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19371 if (SWIG_arg_fail(1)) SWIG_fail
;
19376 arg2
= (int)(SWIG_As_int(obj1
));
19377 if (SWIG_arg_fail(2)) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19394 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= wxPyMake_wxObject(result
, 0);
19422 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19425 wxWindow
*arg2
= (wxWindow
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "win", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail
;
19435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19436 if (SWIG_arg_fail(2)) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 (arg1
)->SetWindow(arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 Py_INCREF(Py_None
); resultobj
= Py_None
;
19451 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19454 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19456 return Py_BuildValue((char *)"");
19458 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxWindow
*arg1
= (wxWindow
*) NULL
;
19461 wxChildFocusEvent
*result
;
19462 PyObject
* obj0
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "win", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19470 if (SWIG_arg_fail(1)) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19486 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19497 if (SWIG_arg_fail(1)) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= wxPyMake_wxObject(result
, 0);
19514 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19517 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19519 return Py_BuildValue((char *)"");
19521 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19524 bool arg2
= (bool) true ;
19525 int arg3
= (int) 0 ;
19526 wxActivateEvent
*result
;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 PyObject
* obj2
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "type",(char *) "active",(char *) "Id", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19537 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19538 if (SWIG_arg_fail(1)) SWIG_fail
;
19543 arg2
= (bool)(SWIG_As_bool(obj1
));
19544 if (SWIG_arg_fail(2)) SWIG_fail
;
19549 arg3
= (int)(SWIG_As_int(obj2
));
19550 if (SWIG_arg_fail(3)) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19567 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19571 PyObject
* obj0
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19578 if (SWIG_arg_fail(1)) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19595 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19598 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19600 return Py_BuildValue((char *)"");
19602 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 int arg1
= (int) 0 ;
19605 wxInitDialogEvent
*result
;
19606 PyObject
* obj0
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "Id", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19614 arg1
= (int)(SWIG_As_int(obj0
));
19615 if (SWIG_arg_fail(1)) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19632 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19635 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19637 return Py_BuildValue((char *)"");
19639 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19642 int arg2
= (int) 0 ;
19643 wxMenu
*arg3
= (wxMenu
*) NULL
;
19644 wxMenuEvent
*result
;
19645 PyObject
* obj0
= 0 ;
19646 PyObject
* obj1
= 0 ;
19647 PyObject
* obj2
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "type",(char *) "winid",(char *) "menu", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19655 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19656 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 arg2
= (int)(SWIG_As_int(obj1
));
19662 if (SWIG_arg_fail(2)) SWIG_fail
;
19666 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19667 if (SWIG_arg_fail(3)) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19683 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19694 if (SWIG_arg_fail(1)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_From_int((int)(result
));
19711 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19739 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 char *kwnames
[] = {
19745 (char *) "self", NULL
19748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19750 if (SWIG_arg_fail(1)) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= wxPyMake_wxObject(result
, 0);
19767 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19770 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19772 return Py_BuildValue((char *)"");
19774 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19777 int arg2
= (int) 0 ;
19778 wxCloseEvent
*result
;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "type",(char *) "winid", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19789 if (SWIG_arg_fail(1)) SWIG_fail
;
19794 arg2
= (int)(SWIG_As_int(obj1
));
19795 if (SWIG_arg_fail(2)) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19812 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self",(char *) "logOff", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19824 if (SWIG_arg_fail(1)) SWIG_fail
;
19826 arg2
= (bool)(SWIG_As_bool(obj1
));
19827 if (SWIG_arg_fail(2)) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->SetLoggingOff(arg2
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 Py_INCREF(Py_None
); resultobj
= Py_None
;
19843 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19854 if (SWIG_arg_fail(1)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19871 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
;
19873 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19874 bool arg2
= (bool) true ;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self",(char *) "veto", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19883 if (SWIG_arg_fail(1)) SWIG_fail
;
19886 arg2
= (bool)(SWIG_As_bool(obj1
));
19887 if (SWIG_arg_fail(2)) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 (arg1
)->Veto(arg2
);
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 Py_INCREF(Py_None
); resultobj
= Py_None
;
19904 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self",(char *) "canVeto", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19916 if (SWIG_arg_fail(1)) SWIG_fail
;
19918 arg2
= (bool)(SWIG_As_bool(obj1
));
19919 if (SWIG_arg_fail(2)) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 (arg1
)->SetCanVeto(arg2
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 Py_INCREF(Py_None
); resultobj
= Py_None
;
19935 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19946 if (SWIG_arg_fail(1)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19963 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19974 if (SWIG_arg_fail(1)) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19994 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19996 return Py_BuildValue((char *)"");
19998 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 int arg1
= (int) 0 ;
20001 bool arg2
= (bool) false ;
20002 wxShowEvent
*result
;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "winid",(char *) "show", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20012 arg1
= (int)(SWIG_As_int(obj0
));
20013 if (SWIG_arg_fail(1)) SWIG_fail
;
20018 arg2
= (bool)(SWIG_As_bool(obj1
));
20019 if (SWIG_arg_fail(2)) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20036 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "show", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20048 if (SWIG_arg_fail(1)) SWIG_fail
;
20050 arg2
= (bool)(SWIG_As_bool(obj1
));
20051 if (SWIG_arg_fail(2)) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 (arg1
)->SetShow(arg2
);
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20060 Py_INCREF(Py_None
); resultobj
= Py_None
;
20067 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20078 if (SWIG_arg_fail(1)) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20095 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20098 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20100 return Py_BuildValue((char *)"");
20102 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 int arg1
= (int) 0 ;
20105 bool arg2
= (bool) true ;
20106 wxIconizeEvent
*result
;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "id",(char *) "iconized", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20116 arg1
= (int)(SWIG_As_int(obj0
));
20117 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 arg2
= (bool)(SWIG_As_bool(obj1
));
20123 if (SWIG_arg_fail(2)) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20140 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)(arg1
)->Iconized();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20168 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20171 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20173 return Py_BuildValue((char *)"");
20175 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 int arg1
= (int) 0 ;
20178 wxMaximizeEvent
*result
;
20179 PyObject
* obj0
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "id", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20187 arg1
= (int)(SWIG_As_int(obj0
));
20188 if (SWIG_arg_fail(1)) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20205 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20208 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20210 return Py_BuildValue((char *)"");
20212 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20223 if (SWIG_arg_fail(1)) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= (arg1
)->GetPosition();
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 wxPoint
* resultptr
;
20233 resultptr
= new wxPoint((wxPoint
&)(result
));
20234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20242 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20253 if (SWIG_arg_fail(1)) SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 result
= (int)(arg1
)->GetNumberOfFiles();
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= SWIG_From_int((int)(result
));
20270 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20281 if (SWIG_arg_fail(1)) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= result
;
20296 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20299 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20301 return Py_BuildValue((char *)"");
20303 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 int arg1
= (int) 0 ;
20306 wxUpdateUIEvent
*result
;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "commandId", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20315 arg1
= (int)(SWIG_As_int(obj0
));
20316 if (SWIG_arg_fail(1)) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20333 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20344 if (SWIG_arg_fail(1)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20361 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20365 PyObject
* obj0
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20372 if (SWIG_arg_fail(1)) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20389 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20391 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20393 PyObject
* obj0
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20421 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20423 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20425 PyObject
* obj0
= 0 ;
20426 char *kwnames
[] = {
20427 (char *) "self", NULL
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20449 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20460 if (SWIG_arg_fail(1)) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20477 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20488 if (SWIG_arg_fail(1)) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20505 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "check", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20517 if (SWIG_arg_fail(1)) SWIG_fail
;
20519 arg2
= (bool)(SWIG_As_bool(obj1
));
20520 if (SWIG_arg_fail(2)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->Check(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "enable", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20548 if (SWIG_arg_fail(1)) SWIG_fail
;
20550 arg2
= (bool)(SWIG_As_bool(obj1
));
20551 if (SWIG_arg_fail(2)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 (arg1
)->Enable(arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 Py_INCREF(Py_None
); resultobj
= Py_None
;
20567 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20570 wxString
*arg2
= 0 ;
20571 bool temp2
= false ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self",(char *) "text", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20580 if (SWIG_arg_fail(1)) SWIG_fail
;
20582 arg2
= wxString_in_helper(obj1
);
20583 if (arg2
== NULL
) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 (arg1
)->SetText((wxString
const &)*arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 Py_INCREF(Py_None
); resultobj
= Py_None
;
20608 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20611 PyObject
* obj0
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "updateInterval", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20618 arg1
= (long)(SWIG_As_long(obj0
));
20619 if (SWIG_arg_fail(1)) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 Py_INCREF(Py_None
); resultobj
= Py_None
;
20635 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20638 char *kwnames
[] = {
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_From_long((long)(result
));
20659 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxWindow
*arg1
= (wxWindow
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "win", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20670 if (SWIG_arg_fail(1)) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20687 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 char *kwnames
[] = {
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 wxUpdateUIEvent::ResetUpdateTime();
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 Py_INCREF(Py_None
); resultobj
= Py_None
;
20708 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxUpdateUIMode arg1
;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "mode", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20718 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20719 if (SWIG_arg_fail(1)) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 Py_INCREF(Py_None
); resultobj
= Py_None
;
20735 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxUpdateUIMode result
;
20738 char *kwnames
[] = {
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= SWIG_From_int((result
));
20757 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20760 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20762 return Py_BuildValue((char *)"");
20764 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxSysColourChangedEvent
*result
;
20767 char *kwnames
[] = {
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20786 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20789 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20791 return Py_BuildValue((char *)"");
20793 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20794 PyObject
*resultobj
;
20795 int arg1
= (int) 0 ;
20796 wxWindow
*arg2
= (wxWindow
*) NULL
;
20797 wxMouseCaptureChangedEvent
*result
;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "winid",(char *) "gainedCapture", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20807 arg1
= (int)(SWIG_As_int(obj0
));
20808 if (SWIG_arg_fail(1)) SWIG_fail
;
20812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20813 if (SWIG_arg_fail(2)) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20829 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20840 if (SWIG_arg_fail(1)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= wxPyMake_wxObject(result
, 0);
20857 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20860 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20862 return Py_BuildValue((char *)"");
20864 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxDisplayChangedEvent
*result
;
20867 char *kwnames
[] = {
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20886 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20889 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20891 return Py_BuildValue((char *)"");
20893 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 int arg1
= (int) 0 ;
20896 wxPaletteChangedEvent
*result
;
20897 PyObject
* obj0
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "id", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20905 arg1
= (int)(SWIG_As_int(obj0
));
20906 if (SWIG_arg_fail(1)) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20923 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20926 wxWindow
*arg2
= (wxWindow
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "win", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20935 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20937 if (SWIG_arg_fail(2)) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->SetChangedWindow(arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 Py_INCREF(Py_None
); resultobj
= Py_None
;
20952 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= wxPyMake_wxObject(result
, 0);
20980 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20983 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20985 return Py_BuildValue((char *)"");
20987 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 int arg1
= (int) 0 ;
20990 wxQueryNewPaletteEvent
*result
;
20991 PyObject
* obj0
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "winid", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20999 arg1
= (int)(SWIG_As_int(obj0
));
21000 if (SWIG_arg_fail(1)) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21017 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self",(char *) "realized", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21029 if (SWIG_arg_fail(1)) SWIG_fail
;
21031 arg2
= (bool)(SWIG_As_bool(obj1
));
21032 if (SWIG_arg_fail(2)) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 (arg1
)->SetPaletteRealized(arg2
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 Py_INCREF(Py_None
); resultobj
= Py_None
;
21048 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21059 if (SWIG_arg_fail(1)) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21076 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21079 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21081 return Py_BuildValue((char *)"");
21083 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxNavigationKeyEvent
*result
;
21086 char *kwnames
[] = {
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21105 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21116 if (SWIG_arg_fail(1)) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21133 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 PyObject
* obj1
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "forward", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 arg2
= (bool)(SWIG_As_bool(obj1
));
21148 if (SWIG_arg_fail(2)) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 (arg1
)->SetDirection(arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 Py_INCREF(Py_None
); resultobj
= Py_None
;
21164 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21168 PyObject
* obj0
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21175 if (SWIG_arg_fail(1)) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21192 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "ischange", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail
;
21206 arg2
= (bool)(SWIG_As_bool(obj1
));
21207 if (SWIG_arg_fail(2)) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 (arg1
)->SetWindowChange(arg2
);
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21216 Py_INCREF(Py_None
); resultobj
= Py_None
;
21223 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21227 PyObject
* obj0
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21251 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self",(char *) "bIs", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail
;
21265 arg2
= (bool)(SWIG_As_bool(obj1
));
21266 if (SWIG_arg_fail(2)) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 (arg1
)->SetFromTab(arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 Py_INCREF(Py_None
); resultobj
= Py_None
;
21282 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "flags", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21294 if (SWIG_arg_fail(1)) SWIG_fail
;
21296 arg2
= (long)(SWIG_As_long(obj1
));
21297 if (SWIG_arg_fail(2)) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 (arg1
)->SetFlags(arg2
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= wxPyMake_wxObject(result
, 0);
21341 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21344 wxWindow
*arg2
= (wxWindow
*) 0 ;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "win", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21353 if (SWIG_arg_fail(1)) SWIG_fail
;
21354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21355 if (SWIG_arg_fail(2)) SWIG_fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 (arg1
)->SetCurrentFocus(arg2
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 Py_INCREF(Py_None
); resultobj
= Py_None
;
21370 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21373 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21375 return Py_BuildValue((char *)"");
21377 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxWindow
*arg1
= (wxWindow
*) NULL
;
21380 wxWindowCreateEvent
*result
;
21381 PyObject
* obj0
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "win", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21389 if (SWIG_arg_fail(1)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21405 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21416 if (SWIG_arg_fail(1)) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= wxPyMake_wxObject(result
, 0);
21433 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21436 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21438 return Py_BuildValue((char *)"");
21440 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21442 wxWindow
*arg1
= (wxWindow
*) NULL
;
21443 wxWindowDestroyEvent
*result
;
21444 PyObject
* obj0
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "win", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21468 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21479 if (SWIG_arg_fail(1)) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= wxPyMake_wxObject(result
, 0);
21496 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21499 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21501 return Py_BuildValue((char *)"");
21503 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
;
21505 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21506 int arg2
= (int) 0 ;
21507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21509 wxContextMenuEvent
*result
;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 PyObject
* obj2
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "type",(char *) "winid",(char *) "pt", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21521 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21522 if (SWIG_arg_fail(1)) SWIG_fail
;
21527 arg2
= (int)(SWIG_As_int(obj1
));
21528 if (SWIG_arg_fail(2)) SWIG_fail
;
21534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21551 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21562 if (SWIG_arg_fail(1)) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21567 result
= (wxPoint
*) &_result_ref
;
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21580 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21583 wxPoint
*arg2
= 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "pos", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21593 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 Py_INCREF(Py_None
); resultobj
= Py_None
;
21612 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21615 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21617 return Py_BuildValue((char *)"");
21619 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxIdleEvent
*result
;
21622 char *kwnames
[] = {
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= (wxIdleEvent
*)new wxIdleEvent();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21641 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21644 bool arg2
= (bool) true ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "needMore", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21653 if (SWIG_arg_fail(1)) SWIG_fail
;
21656 arg2
= (bool)(SWIG_As_bool(obj1
));
21657 if (SWIG_arg_fail(2)) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 (arg1
)->RequestMore(arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 Py_INCREF(Py_None
); resultobj
= Py_None
;
21674 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
;
21676 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21702 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21705 PyObject
* obj0
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "mode", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21712 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21713 if (SWIG_arg_fail(1)) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 Py_INCREF(Py_None
); resultobj
= Py_None
;
21729 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21732 char *kwnames
[] = {
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_From_int((result
));
21751 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxWindow
*arg1
= (wxWindow
*) 0 ;
21755 PyObject
* obj0
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "win", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21762 if (SWIG_arg_fail(1)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (bool)wxIdleEvent::CanSend(arg1
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21779 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21782 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21784 return Py_BuildValue((char *)"");
21786 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 int arg1
= (int) 0 ;
21789 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "winid",(char *) "commandType", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21800 arg1
= (int)(SWIG_As_int(obj0
));
21801 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21807 if (SWIG_arg_fail(2)) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21824 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
;
21826 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21827 PyObject
* obj0
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21834 if (SWIG_arg_fail(1)) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 Py_INCREF(Py_None
); resultobj
= Py_None
;
21849 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21852 PyObject
*arg2
= (PyObject
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "self", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21861 if (SWIG_arg_fail(1)) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->SetSelf(arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21888 if (SWIG_arg_fail(1)) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (PyObject
*)(arg1
)->GetSelf();
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= result
;
21903 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21906 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21908 return Py_BuildValue((char *)"");
21910 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21913 int arg2
= (int) 0 ;
21914 wxPyCommandEvent
*result
;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "commandType",(char *) "id", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21924 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21925 if (SWIG_arg_fail(1)) SWIG_fail
;
21930 arg2
= (int)(SWIG_As_int(obj1
));
21931 if (SWIG_arg_fail(2)) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21948 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21951 PyObject
* obj0
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "self", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21958 if (SWIG_arg_fail(1)) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 Py_INCREF(Py_None
); resultobj
= Py_None
;
21973 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21976 PyObject
*arg2
= (PyObject
*) 0 ;
21977 PyObject
* obj0
= 0 ;
21978 PyObject
* obj1
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "self", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21985 if (SWIG_arg_fail(1)) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 (arg1
)->SetSelf(arg2
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 Py_INCREF(Py_None
); resultobj
= Py_None
;
22001 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22012 if (SWIG_arg_fail(1)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (PyObject
*)(arg1
)->GetSelf();
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= result
;
22027 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22030 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22032 return Py_BuildValue((char *)"");
22034 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxWindow
*arg1
= (wxWindow
*) 0 ;
22037 wxDateTime
*arg2
= 0 ;
22039 wxDateEvent
*result
;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 PyObject
* obj2
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "win",(char *) "dt",(char *) "type", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22049 if (SWIG_arg_fail(1)) SWIG_fail
;
22051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22052 if (SWIG_arg_fail(2)) SWIG_fail
;
22053 if (arg2
== NULL
) {
22054 SWIG_null_ref("wxDateTime");
22056 if (SWIG_arg_fail(2)) SWIG_fail
;
22059 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22060 if (SWIG_arg_fail(3)) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22076 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22079 wxDateTime
*result
;
22080 PyObject
* obj0
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22092 result
= (wxDateTime
*) &_result_ref
;
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22105 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22108 wxDateTime
*arg2
= 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "date", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(1)) SWIG_fail
;
22119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22120 if (SWIG_arg_fail(2)) SWIG_fail
;
22121 if (arg2
== NULL
) {
22122 SWIG_null_ref("wxDateTime");
22124 if (SWIG_arg_fail(2)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22143 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22145 return Py_BuildValue((char *)"");
22147 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22150 char *kwnames
[] = {
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (wxPyApp
*)new_wxPyApp();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22169 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22179 if (SWIG_arg_fail(1)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22197 PyObject
*arg2
= (PyObject
*) 0 ;
22198 PyObject
*arg3
= (PyObject
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 PyObject
* obj2
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "self",(char *) "_class", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22208 if (SWIG_arg_fail(1)) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 Py_INCREF(Py_None
); resultobj
= Py_None
;
22225 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22236 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22257 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22260 wxString
*arg2
= 0 ;
22261 bool temp2
= false ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "name", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22270 if (SWIG_arg_fail(1)) SWIG_fail
;
22272 arg2
= wxString_in_helper(obj1
);
22273 if (arg2
== NULL
) SWIG_fail
;
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 (arg1
)->SetAppName((wxString
const &)*arg2
);
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 Py_INCREF(Py_None
); resultobj
= Py_None
;
22298 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22309 if (SWIG_arg_fail(1)) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22330 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22333 wxString
*arg2
= 0 ;
22334 bool temp2
= false ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "name", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22343 if (SWIG_arg_fail(1)) SWIG_fail
;
22345 arg2
= wxString_in_helper(obj1
);
22346 if (arg2
== NULL
) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 (arg1
)->SetClassName((wxString
const &)*arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 Py_INCREF(Py_None
); resultobj
= Py_None
;
22371 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22382 if (SWIG_arg_fail(1)) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22387 result
= (wxString
*) &_result_ref
;
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22397 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22406 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22409 wxString
*arg2
= 0 ;
22410 bool temp2
= false ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self",(char *) "name", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail
;
22421 arg2
= wxString_in_helper(obj1
);
22422 if (arg2
== NULL
) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 Py_INCREF(Py_None
); resultobj
= Py_None
;
22447 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22450 wxAppTraits
*result
;
22451 PyObject
* obj0
= 0 ;
22452 char *kwnames
[] = {
22453 (char *) "self", NULL
22456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22458 if (SWIG_arg_fail(1)) SWIG_fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22473 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22476 PyObject
* obj0
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "self", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22483 if (SWIG_arg_fail(1)) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 (arg1
)->ProcessPendingEvents();
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 Py_INCREF(Py_None
); resultobj
= Py_None
;
22498 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22501 bool arg2
= (bool) false ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self",(char *) "onlyIfNeeded", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22511 if (SWIG_arg_fail(1)) SWIG_fail
;
22514 arg2
= (bool)(SWIG_As_bool(obj1
));
22515 if (SWIG_arg_fail(2)) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (bool)(arg1
)->Yield(arg2
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22534 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22544 if (SWIG_arg_fail(1)) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 (arg1
)->WakeUpIdle();
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 Py_INCREF(Py_None
); resultobj
= Py_None
;
22559 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22562 char *kwnames
[] = {
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (bool)wxPyApp::IsMainLoopRunning();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22583 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22594 if (SWIG_arg_fail(1)) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= (int)(arg1
)->MainLoop();
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_From_int((int)(result
));
22611 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22621 if (SWIG_arg_fail(1)) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22646 if (SWIG_arg_fail(1)) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->ExitMainLoop();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 Py_INCREF(Py_None
); resultobj
= Py_None
;
22661 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (bool)(arg1
)->Pending();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22689 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= (bool)(arg1
)->Dispatch();
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22717 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22728 if (SWIG_arg_fail(1)) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (bool)(arg1
)->ProcessIdle();
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22745 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22748 wxWindow
*arg2
= (wxWindow
*) 0 ;
22749 wxIdleEvent
*arg3
= 0 ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self",(char *) "win",(char *) "event", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22760 if (SWIG_arg_fail(1)) SWIG_fail
;
22761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22762 if (SWIG_arg_fail(2)) SWIG_fail
;
22764 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22765 if (SWIG_arg_fail(3)) SWIG_fail
;
22766 if (arg3
== NULL
) {
22767 SWIG_null_ref("wxIdleEvent");
22769 if (SWIG_arg_fail(3)) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22787 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 char *kwnames
[] = {
22793 (char *) "self", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22798 if (SWIG_arg_fail(1)) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22815 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22818 wxWindow
*arg2
= (wxWindow
*) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "win", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22827 if (SWIG_arg_fail(1)) SWIG_fail
;
22828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22829 if (SWIG_arg_fail(2)) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->SetTopWindow(arg2
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= wxPyMake_wxObject(result
, 0);
22872 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self",(char *) "flag", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22884 if (SWIG_arg_fail(1)) SWIG_fail
;
22886 arg2
= (bool)(SWIG_As_bool(obj1
));
22887 if (SWIG_arg_fail(2)) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 (arg1
)->SetExitOnFrameDelete(arg2
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 Py_INCREF(Py_None
); resultobj
= Py_None
;
22903 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22907 PyObject
* obj0
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22931 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22935 PyObject
* obj0
= 0 ;
22936 PyObject
* obj1
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self",(char *) "flag", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22943 if (SWIG_arg_fail(1)) SWIG_fail
;
22945 arg2
= (bool)(SWIG_As_bool(obj1
));
22946 if (SWIG_arg_fail(2)) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->SetUseBestVisual(arg2
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22973 if (SWIG_arg_fail(1)) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22990 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self",(char *) "mode", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23002 if (SWIG_arg_fail(1)) SWIG_fail
;
23004 arg2
= (int)(SWIG_As_int(obj1
));
23005 if (SWIG_arg_fail(2)) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 (arg1
)->SetPrintMode(arg2
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 Py_INCREF(Py_None
); resultobj
= Py_None
;
23021 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23025 PyObject
* obj0
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_From_int((int)(result
));
23049 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self",(char *) "mode", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23061 if (SWIG_arg_fail(1)) SWIG_fail
;
23063 arg2
= (int)(SWIG_As_int(obj1
));
23064 if (SWIG_arg_fail(2)) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 (arg1
)->SetAssertMode(arg2
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 Py_INCREF(Py_None
); resultobj
= Py_None
;
23080 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23091 if (SWIG_arg_fail(1)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (int)(arg1
)->GetAssertMode();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_From_int((int)(result
));
23108 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23111 char *kwnames
[] = {
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23132 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23135 char *kwnames
[] = {
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_From_long((long)(result
));
23156 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23159 char *kwnames
[] = {
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_From_long((long)(result
));
23180 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23183 char *kwnames
[] = {
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 result
= (long)wxPyApp::GetMacExitMenuItemId();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_From_long((long)(result
));
23204 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23207 char *kwnames
[] = {
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= wxPyApp::GetMacHelpMenuTitleName();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23232 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23235 PyObject
* obj0
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "val", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23242 arg1
= (bool)(SWIG_As_bool(obj0
));
23243 if (SWIG_arg_fail(1)) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 Py_INCREF(Py_None
); resultobj
= Py_None
;
23259 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23262 PyObject
* obj0
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "val", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23269 arg1
= (long)(SWIG_As_long(obj0
));
23270 if (SWIG_arg_fail(1)) SWIG_fail
;
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 wxPyApp::SetMacAboutMenuItemId(arg1
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 Py_INCREF(Py_None
); resultobj
= Py_None
;
23286 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23289 PyObject
* obj0
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "val", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23296 arg1
= (long)(SWIG_As_long(obj0
));
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 Py_INCREF(Py_None
); resultobj
= Py_None
;
23313 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "val", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23323 arg1
= (long)(SWIG_As_long(obj0
));
23324 if (SWIG_arg_fail(1)) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 wxPyApp::SetMacExitMenuItemId(arg1
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 Py_INCREF(Py_None
); resultobj
= Py_None
;
23340 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxString
*arg1
= 0 ;
23343 bool temp1
= false ;
23344 PyObject
* obj0
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "val", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23351 arg1
= wxString_in_helper(obj0
);
23352 if (arg1
== NULL
) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23387 if (SWIG_arg_fail(1)) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 (arg1
)->_BootstrapApp();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 Py_INCREF(Py_None
); resultobj
= Py_None
;
23402 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23405 char *kwnames
[] = {
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (int)PyApp_GetComCtl32Version();
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_From_int((int)(result
));
23426 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23429 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23431 return Py_BuildValue((char *)"");
23433 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 char *kwnames
[] = {
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 Py_INCREF(Py_None
); resultobj
= Py_None
;
23454 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23457 char *kwnames
[] = {
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= (bool)wxYield();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23478 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23481 char *kwnames
[] = {
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (bool)wxYieldIfNeeded();
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23502 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxWindow
*arg1
= (wxWindow
*) NULL
;
23505 bool arg2
= (bool) false ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "win",(char *) "onlyIfNeeded", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23516 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 arg2
= (bool)(SWIG_As_bool(obj1
));
23521 if (SWIG_arg_fail(2)) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (bool)wxSafeYield(arg1
,arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23540 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 char *kwnames
[] = {
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 Py_INCREF(Py_None
); resultobj
= Py_None
;
23561 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23564 wxEvent
*arg2
= 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "dest",(char *) "event", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail
;
23575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23576 if (SWIG_arg_fail(2)) SWIG_fail
;
23577 if (arg2
== NULL
) {
23578 SWIG_null_ref("wxEvent");
23580 if (SWIG_arg_fail(2)) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 wxPostEvent(arg1
,*arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 Py_INCREF(Py_None
); resultobj
= Py_None
;
23596 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 char *kwnames
[] = {
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 Py_INCREF(Py_None
); resultobj
= Py_None
;
23617 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23620 char *kwnames
[] = {
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= (wxPyApp
*)wxPyGetApp();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= wxPyMake_wxObject(result
, 0);
23641 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 char *arg1
= (char *) 0 ;
23644 PyObject
* obj0
= 0 ;
23645 char *kwnames
[] = {
23646 (char *) "encoding", NULL
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23650 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23651 SWIG_arg_fail(1);SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 wxSetDefaultPyEncoding((char const *)arg1
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 Py_INCREF(Py_None
); resultobj
= Py_None
;
23667 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23670 char *kwnames
[] = {
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (char *)wxGetDefaultPyEncoding();
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_FromCharPtr(result
);
23689 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxEventLoop
*result
;
23692 char *kwnames
[] = {
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (wxEventLoop
*)new wxEventLoop();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23711 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 char *kwnames
[] = {
23716 (char *) "self", NULL
23719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23721 if (SWIG_arg_fail(1)) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 Py_INCREF(Py_None
); resultobj
= Py_None
;
23736 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (int)(arg1
)->Run();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= SWIG_From_int((int)(result
));
23764 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23767 int arg2
= (int) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "self",(char *) "rc", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23776 if (SWIG_arg_fail(1)) SWIG_fail
;
23779 arg2
= (int)(SWIG_As_int(obj1
));
23780 if (SWIG_arg_fail(2)) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 (arg1
)->Exit(arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 Py_INCREF(Py_None
); resultobj
= Py_None
;
23797 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23808 if (SWIG_arg_fail(1)) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23825 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 char *kwnames
[] = {
23831 (char *) "self", NULL
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23836 if (SWIG_arg_fail(1)) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (bool)(arg1
)->Dispatch();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23853 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23855 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23857 PyObject
* obj0
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "self", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23864 if (SWIG_arg_fail(1)) SWIG_fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23881 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxEventLoop
*result
;
23884 char *kwnames
[] = {
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23903 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "loop", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23913 if (SWIG_arg_fail(1)) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 wxEventLoop::SetActive(arg1
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 Py_INCREF(Py_None
); resultobj
= Py_None
;
23928 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23931 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23933 return Py_BuildValue((char *)"");
23935 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 int arg1
= (int) 0 ;
23938 int arg2
= (int) 0 ;
23939 int arg3
= (int) 0 ;
23940 wxAcceleratorEntry
*result
;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 PyObject
* obj2
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23951 arg1
= (int)(SWIG_As_int(obj0
));
23952 if (SWIG_arg_fail(1)) SWIG_fail
;
23957 arg2
= (int)(SWIG_As_int(obj1
));
23958 if (SWIG_arg_fail(2)) SWIG_fail
;
23963 arg3
= (int)(SWIG_As_int(obj2
));
23964 if (SWIG_arg_fail(3)) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23981 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23991 if (SWIG_arg_fail(1)) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 PyObject
* obj2
= 0 ;
24015 PyObject
* obj3
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24022 if (SWIG_arg_fail(1)) SWIG_fail
;
24024 arg2
= (int)(SWIG_As_int(obj1
));
24025 if (SWIG_arg_fail(2)) SWIG_fail
;
24028 arg3
= (int)(SWIG_As_int(obj2
));
24029 if (SWIG_arg_fail(3)) SWIG_fail
;
24032 arg4
= (int)(SWIG_As_int(obj3
));
24033 if (SWIG_arg_fail(4)) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 (arg1
)->Set(arg2
,arg3
,arg4
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 Py_INCREF(Py_None
); resultobj
= Py_None
;
24049 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24053 PyObject
* obj0
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "self", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24060 if (SWIG_arg_fail(1)) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (int)(arg1
)->GetFlags();
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_From_int((int)(result
));
24077 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24088 if (SWIG_arg_fail(1)) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (int)(arg1
)->GetKeyCode();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_From_int((int)(result
));
24105 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24107 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24109 PyObject
* obj0
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "self", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24116 if (SWIG_arg_fail(1)) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (int)(arg1
)->GetCommand();
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_From_int((int)(result
));
24133 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24136 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24138 return Py_BuildValue((char *)"");
24140 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24143 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24144 wxAcceleratorTable
*result
;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24152 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24153 if (arg2
) arg1
= PyList_Size(obj0
);
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24176 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 char *kwnames
[] = {
24181 (char *) "self", NULL
24184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24186 if (SWIG_arg_fail(1)) SWIG_fail
;
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 Py_INCREF(Py_None
); resultobj
= Py_None
;
24201 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
;
24203 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "self", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(1)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24229 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24232 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24234 return Py_BuildValue((char *)"");
24236 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24237 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24242 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24245 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24250 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxString
*arg1
= 0 ;
24253 wxAcceleratorEntry
*result
;
24254 bool temp1
= false ;
24255 PyObject
* obj0
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "label", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24262 arg1
= wxString_in_helper(obj0
);
24263 if (arg1
== NULL
) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24288 static int _wrap_PanelNameStr_set(PyObject
*) {
24289 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24294 static PyObject
*_wrap_PanelNameStr_get(void) {
24299 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24301 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24308 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxVisualAttributes
*result
;
24311 char *kwnames
[] = {
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24330 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24340 if (SWIG_arg_fail(1)) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 delete_wxVisualAttributes(arg1
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24358 wxFont
*arg2
= (wxFont
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self",(char *) "font", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24367 if (SWIG_arg_fail(1)) SWIG_fail
;
24368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(2)) SWIG_fail
;
24370 if (arg1
) (arg1
)->font
= *arg2
;
24372 Py_INCREF(Py_None
); resultobj
= Py_None
;
24379 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24390 if (SWIG_arg_fail(1)) SWIG_fail
;
24391 result
= (wxFont
*)& ((arg1
)->font
);
24393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24400 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24402 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24403 wxColour
*arg2
= (wxColour
*) 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "colFg", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24414 if (SWIG_arg_fail(2)) SWIG_fail
;
24415 if (arg1
) (arg1
)->colFg
= *arg2
;
24417 Py_INCREF(Py_None
); resultobj
= Py_None
;
24424 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24435 if (SWIG_arg_fail(1)) SWIG_fail
;
24436 result
= (wxColour
*)& ((arg1
)->colFg
);
24438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24445 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24448 wxColour
*arg2
= (wxColour
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 PyObject
* obj1
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self",(char *) "colBg", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24457 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24460 if (arg1
) (arg1
)->colBg
= *arg2
;
24462 Py_INCREF(Py_None
); resultobj
= Py_None
;
24469 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24473 PyObject
* obj0
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24480 if (SWIG_arg_fail(1)) SWIG_fail
;
24481 result
= (wxColour
*)& ((arg1
)->colBg
);
24483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24490 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24493 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24495 return Py_BuildValue((char *)"");
24497 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxWindow
*arg1
= (wxWindow
*) 0 ;
24500 int arg2
= (int) (int)-1 ;
24501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24505 long arg5
= (long) 0 ;
24506 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24511 bool temp6
= false ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 PyObject
* obj2
= 0 ;
24515 PyObject
* obj3
= 0 ;
24516 PyObject
* obj4
= 0 ;
24517 PyObject
* obj5
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24524 if (SWIG_arg_fail(1)) SWIG_fail
;
24527 arg2
= (int const)(SWIG_As_int(obj1
));
24528 if (SWIG_arg_fail(2)) SWIG_fail
;
24534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24545 arg5
= (long)(SWIG_As_long(obj4
));
24546 if (SWIG_arg_fail(5)) SWIG_fail
;
24551 arg6
= wxString_in_helper(obj5
);
24552 if (arg6
== NULL
) SWIG_fail
;
24557 if (!wxPyCheckForApp()) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24579 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24582 char *kwnames
[] = {
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24588 if (!wxPyCheckForApp()) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (wxWindow
*)new wxWindow();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24602 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxWindow
*arg1
= (wxWindow
*) 0 ;
24605 wxWindow
*arg2
= (wxWindow
*) 0 ;
24606 int arg3
= (int) (int)-1 ;
24607 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24608 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24609 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24610 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24611 long arg6
= (long) 0 ;
24612 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24613 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24617 bool temp7
= false ;
24618 PyObject
* obj0
= 0 ;
24619 PyObject
* obj1
= 0 ;
24620 PyObject
* obj2
= 0 ;
24621 PyObject
* obj3
= 0 ;
24622 PyObject
* obj4
= 0 ;
24623 PyObject
* obj5
= 0 ;
24624 PyObject
* obj6
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24631 if (SWIG_arg_fail(1)) SWIG_fail
;
24632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24633 if (SWIG_arg_fail(2)) SWIG_fail
;
24636 arg3
= (int const)(SWIG_As_int(obj2
));
24637 if (SWIG_arg_fail(3)) SWIG_fail
;
24643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24654 arg6
= (long)(SWIG_As_long(obj5
));
24655 if (SWIG_arg_fail(6)) SWIG_fail
;
24660 arg7
= wxString_in_helper(obj6
);
24661 if (arg7
== NULL
) SWIG_fail
;
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24689 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxWindow
*arg1
= (wxWindow
*) 0 ;
24692 bool arg2
= (bool) false ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "self",(char *) "force", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24702 if (SWIG_arg_fail(1)) SWIG_fail
;
24705 arg2
= (bool)(SWIG_As_bool(obj1
));
24706 if (SWIG_arg_fail(2)) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (bool)(arg1
)->Close(arg2
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24725 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxWindow
*arg1
= (wxWindow
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24736 if (SWIG_arg_fail(1)) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (bool)(arg1
)->Destroy();
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24753 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxWindow
*arg1
= (wxWindow
*) 0 ;
24757 PyObject
* obj0
= 0 ;
24758 char *kwnames
[] = {
24759 (char *) "self", NULL
24762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24764 if (SWIG_arg_fail(1)) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (bool)(arg1
)->DestroyChildren();
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24781 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
;
24783 wxWindow
*arg1
= (wxWindow
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24792 if (SWIG_arg_fail(1)) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24809 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxWindow
*arg1
= (wxWindow
*) 0 ;
24812 wxString
*arg2
= 0 ;
24813 bool temp2
= false ;
24814 PyObject
* obj0
= 0 ;
24815 PyObject
* obj1
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self",(char *) "title", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail
;
24824 arg2
= wxString_in_helper(obj1
);
24825 if (arg2
== NULL
) SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 (arg1
)->SetTitle((wxString
const &)*arg2
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxWindow
*arg1
= (wxWindow
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= ((wxWindow
const *)arg1
)->GetTitle();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24882 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxWindow
*arg1
= (wxWindow
*) 0 ;
24885 wxString
*arg2
= 0 ;
24886 bool temp2
= false ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "label", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24895 if (SWIG_arg_fail(1)) SWIG_fail
;
24897 arg2
= wxString_in_helper(obj1
);
24898 if (arg2
== NULL
) SWIG_fail
;
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 (arg1
)->SetLabel((wxString
const &)*arg2
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24908 Py_INCREF(Py_None
); resultobj
= Py_None
;
24923 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxWindow
*arg1
= (wxWindow
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail
;
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= ((wxWindow
const *)arg1
)->GetLabel();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24955 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxWindow
*arg1
= (wxWindow
*) 0 ;
24958 wxString
*arg2
= 0 ;
24959 bool temp2
= false ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self",(char *) "name", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24968 if (SWIG_arg_fail(1)) SWIG_fail
;
24970 arg2
= wxString_in_helper(obj1
);
24971 if (arg2
== NULL
) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 (arg1
)->SetName((wxString
const &)*arg2
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 Py_INCREF(Py_None
); resultobj
= Py_None
;
24996 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25000 PyObject
* obj0
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25007 if (SWIG_arg_fail(1)) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= ((wxWindow
const *)arg1
)->GetName();
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25028 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxWindow
*arg1
= (wxWindow
*) 0 ;
25031 wxWindowVariant arg2
;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self",(char *) "variant", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25040 if (SWIG_arg_fail(1)) SWIG_fail
;
25042 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25043 if (SWIG_arg_fail(2)) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25059 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxWindow
*arg1
= (wxWindow
*) 0 ;
25062 wxWindowVariant result
;
25063 PyObject
* obj0
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25070 if (SWIG_arg_fail(1)) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_From_int((result
));
25085 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxWindow
*arg1
= (wxWindow
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self",(char *) "winid", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25097 if (SWIG_arg_fail(1)) SWIG_fail
;
25099 arg2
= (int)(SWIG_As_int(obj1
));
25100 if (SWIG_arg_fail(2)) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetId(arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxWindow
*arg1
= (wxWindow
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 char *kwnames
[] = {
25122 (char *) "self", NULL
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25127 if (SWIG_arg_fail(1)) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (int)((wxWindow
const *)arg1
)->GetId();
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_From_int((int)(result
));
25144 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
;
25147 char *kwnames
[] = {
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (int)wxWindow::NewControlId();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_From_int((int)(result
));
25168 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "winid", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25179 arg1
= (int)(SWIG_As_int(obj0
));
25180 if (SWIG_arg_fail(1)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (int)wxWindow::NextControlId(arg1
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_From_int((int)(result
));
25198 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "winid", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25209 arg1
= (int)(SWIG_As_int(obj0
));
25210 if (SWIG_arg_fail(1)) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (int)wxWindow::PrevControlId(arg1
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_From_int((int)(result
));
25228 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxWindow
*arg1
= (wxWindow
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "size", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25241 if (SWIG_arg_fail(1)) SWIG_fail
;
25244 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 (arg1
)->SetSize((wxSize
const &)*arg2
);
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 Py_INCREF(Py_None
); resultobj
= Py_None
;
25260 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxWindow
*arg1
= (wxWindow
*) 0 ;
25267 int arg6
= (int) wxSIZE_AUTO
;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 PyObject
* obj2
= 0 ;
25271 PyObject
* obj3
= 0 ;
25272 PyObject
* obj4
= 0 ;
25273 PyObject
* obj5
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25280 if (SWIG_arg_fail(1)) SWIG_fail
;
25282 arg2
= (int)(SWIG_As_int(obj1
));
25283 if (SWIG_arg_fail(2)) SWIG_fail
;
25286 arg3
= (int)(SWIG_As_int(obj2
));
25287 if (SWIG_arg_fail(3)) SWIG_fail
;
25290 arg4
= (int)(SWIG_As_int(obj3
));
25291 if (SWIG_arg_fail(4)) SWIG_fail
;
25294 arg5
= (int)(SWIG_As_int(obj4
));
25295 if (SWIG_arg_fail(5)) SWIG_fail
;
25299 arg6
= (int)(SWIG_As_int(obj5
));
25300 if (SWIG_arg_fail(6)) SWIG_fail
;
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 Py_INCREF(Py_None
); resultobj
= Py_None
;
25317 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxWindow
*arg1
= (wxWindow
*) 0 ;
25321 int arg3
= (int) wxSIZE_AUTO
;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 PyObject
* obj2
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25332 if (SWIG_arg_fail(1)) SWIG_fail
;
25335 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25339 arg3
= (int)(SWIG_As_int(obj2
));
25340 if (SWIG_arg_fail(3)) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25350 Py_INCREF(Py_None
); resultobj
= Py_None
;
25357 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxWindow
*arg1
= (wxWindow
*) 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 PyObject
* obj2
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self",(char *) "width",(char *) "height", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25371 if (SWIG_arg_fail(1)) SWIG_fail
;
25373 arg2
= (int)(SWIG_As_int(obj1
));
25374 if (SWIG_arg_fail(2)) SWIG_fail
;
25377 arg3
= (int)(SWIG_As_int(obj2
));
25378 if (SWIG_arg_fail(3)) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->SetSize(arg2
,arg3
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxWindow
*arg1
= (wxWindow
*) 0 ;
25397 wxPoint
*arg2
= 0 ;
25398 int arg3
= (int) wxSIZE_USE_EXISTING
;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 PyObject
* obj2
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self",(char *) "pt",(char *) "flags", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25409 if (SWIG_arg_fail(1)) SWIG_fail
;
25412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25416 arg3
= (int)(SWIG_As_int(obj2
));
25417 if (SWIG_arg_fail(3)) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25434 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxWindow
*arg1
= (wxWindow
*) 0 ;
25439 int arg4
= (int) wxSIZE_USE_EXISTING
;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 PyObject
* obj2
= 0 ;
25443 PyObject
* obj3
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25450 if (SWIG_arg_fail(1)) SWIG_fail
;
25452 arg2
= (int)(SWIG_As_int(obj1
));
25453 if (SWIG_arg_fail(2)) SWIG_fail
;
25456 arg3
= (int)(SWIG_As_int(obj2
));
25457 if (SWIG_arg_fail(3)) SWIG_fail
;
25461 arg4
= (int)(SWIG_As_int(obj3
));
25462 if (SWIG_arg_fail(4)) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 (arg1
)->Move(arg2
,arg3
,arg4
);
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 Py_INCREF(Py_None
); resultobj
= Py_None
;
25479 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
;
25481 wxWindow
*arg1
= (wxWindow
*) 0 ;
25482 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25483 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25485 PyObject
* obj0
= 0 ;
25486 PyObject
* obj1
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self",(char *) "size", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25493 if (SWIG_arg_fail(1)) SWIG_fail
;
25497 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 Py_INCREF(Py_None
); resultobj
= Py_None
;
25514 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxWindow
*arg1
= (wxWindow
*) 0 ;
25517 PyObject
* obj0
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 Py_INCREF(Py_None
); resultobj
= Py_None
;
25539 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxWindow
*arg1
= (wxWindow
*) 0 ;
25542 PyObject
* obj0
= 0 ;
25543 char *kwnames
[] = {
25544 (char *) "self", NULL
25547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25549 if (SWIG_arg_fail(1)) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 Py_INCREF(Py_None
); resultobj
= Py_None
;
25564 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
;
25566 wxWindow
*arg1
= (wxWindow
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self",(char *) "size", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail
;
25580 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 Py_INCREF(Py_None
); resultobj
= Py_None
;
25596 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxWindow
*arg1
= (wxWindow
*) 0 ;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 PyObject
* obj2
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self",(char *) "width",(char *) "height", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25610 if (SWIG_arg_fail(1)) SWIG_fail
;
25612 arg2
= (int)(SWIG_As_int(obj1
));
25613 if (SWIG_arg_fail(2)) SWIG_fail
;
25616 arg3
= (int)(SWIG_As_int(obj2
));
25617 if (SWIG_arg_fail(3)) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 (arg1
)->SetClientSize(arg2
,arg3
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 Py_INCREF(Py_None
); resultobj
= Py_None
;
25633 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxWindow
*arg1
= (wxWindow
*) 0 ;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 char *kwnames
[] = {
25641 (char *) "self",(char *) "rect", NULL
25644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25646 if (SWIG_arg_fail(1)) SWIG_fail
;
25649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 Py_INCREF(Py_None
); resultobj
= Py_None
;
25665 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxWindow
*arg1
= (wxWindow
*) 0 ;
25669 PyObject
* obj0
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25676 if (SWIG_arg_fail(1)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (arg1
)->GetPosition();
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25685 wxPoint
* resultptr
;
25686 resultptr
= new wxPoint((wxPoint
&)(result
));
25687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25695 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxWindow
*arg1
= (wxWindow
*) 0 ;
25698 int *arg2
= (int *) 0 ;
25699 int *arg3
= (int *) 0 ;
25704 PyObject
* obj0
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self", NULL
25709 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25710 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25713 if (SWIG_arg_fail(1)) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 (arg1
)->GetPosition(arg2
,arg3
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 Py_INCREF(Py_None
); resultobj
= Py_None
;
25722 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25723 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25724 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25725 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25732 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxWindow
*arg1
= (wxWindow
*) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 char *kwnames
[] = {
25738 (char *) "self", NULL
25741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25743 if (SWIG_arg_fail(1)) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 result
= ((wxWindow
const *)arg1
)->GetSize();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25752 wxSize
* resultptr
;
25753 resultptr
= new wxSize((wxSize
&)(result
));
25754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25762 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
;
25764 wxWindow
*arg1
= (wxWindow
*) 0 ;
25765 int *arg2
= (int *) 0 ;
25766 int *arg3
= (int *) 0 ;
25771 PyObject
* obj0
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self", NULL
25776 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25777 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 Py_INCREF(Py_None
); resultobj
= Py_None
;
25789 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25790 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25791 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25792 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25799 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxWindow
*arg1
= (wxWindow
*) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25810 if (SWIG_arg_fail(1)) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= ((wxWindow
const *)arg1
)->GetRect();
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 wxRect
* resultptr
;
25820 resultptr
= new wxRect((wxRect
&)(result
));
25821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25829 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxWindow
*arg1
= (wxWindow
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 wxSize
* resultptr
;
25850 resultptr
= new wxSize((wxSize
&)(result
));
25851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25859 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxWindow
*arg1
= (wxWindow
*) 0 ;
25862 int *arg2
= (int *) 0 ;
25863 int *arg3
= (int *) 0 ;
25868 PyObject
* obj0
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self", NULL
25873 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25874 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25877 if (SWIG_arg_fail(1)) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 Py_INCREF(Py_None
); resultobj
= Py_None
;
25886 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25887 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25888 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25889 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25896 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxWindow
*arg1
= (wxWindow
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self", NULL
25905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25907 if (SWIG_arg_fail(1)) SWIG_fail
;
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25916 wxPoint
* resultptr
;
25917 resultptr
= new wxPoint((wxPoint
&)(result
));
25918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25926 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxWindow
*arg1
= (wxWindow
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25946 wxRect
* resultptr
;
25947 resultptr
= new wxRect((wxRect
&)(result
));
25948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25956 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxWindow
*arg1
= (wxWindow
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25967 if (SWIG_arg_fail(1)) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25976 wxSize
* resultptr
;
25977 resultptr
= new wxSize((wxSize
&)(result
));
25978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25986 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxWindow
*arg1
= (wxWindow
*) 0 ;
25989 int *arg2
= (int *) 0 ;
25990 int *arg3
= (int *) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self", NULL
26000 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26001 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26013 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26014 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26015 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26016 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26023 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxWindow
*arg1
= (wxWindow
*) 0 ;
26026 PyObject
* obj0
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26033 if (SWIG_arg_fail(1)) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 (arg1
)->InvalidateBestSize();
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26048 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxWindow
*arg1
= (wxWindow
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 wxSize
* resultptr
;
26069 resultptr
= new wxSize((wxSize
&)(result
));
26070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26078 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxWindow
*arg1
= (wxWindow
*) 0 ;
26082 PyObject
* obj0
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26089 if (SWIG_arg_fail(1)) SWIG_fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26098 wxSize
* resultptr
;
26099 resultptr
= new wxSize((wxSize
&)(result
));
26100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26108 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxWindow
*arg1
= (wxWindow
*) 0 ;
26111 int arg2
= (int) wxBOTH
;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "direction", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26120 if (SWIG_arg_fail(1)) SWIG_fail
;
26123 arg2
= (int)(SWIG_As_int(obj1
));
26124 if (SWIG_arg_fail(2)) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 (arg1
)->Center(arg2
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 Py_INCREF(Py_None
); resultobj
= Py_None
;
26141 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxWindow
*arg1
= (wxWindow
*) 0 ;
26144 int arg2
= (int) wxBOTH
;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "dir", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26153 if (SWIG_arg_fail(1)) SWIG_fail
;
26156 arg2
= (int)(SWIG_As_int(obj1
));
26157 if (SWIG_arg_fail(2)) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->CenterOnScreen(arg2
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 Py_INCREF(Py_None
); resultobj
= Py_None
;
26174 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxWindow
*arg1
= (wxWindow
*) 0 ;
26177 int arg2
= (int) wxBOTH
;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "dir", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail
;
26189 arg2
= (int)(SWIG_As_int(obj1
));
26190 if (SWIG_arg_fail(2)) SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 (arg1
)->CenterOnParent(arg2
);
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 Py_INCREF(Py_None
); resultobj
= Py_None
;
26207 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26209 wxWindow
*arg1
= (wxWindow
*) 0 ;
26210 PyObject
* obj0
= 0 ;
26211 char *kwnames
[] = {
26212 (char *) "self", NULL
26215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26217 if (SWIG_arg_fail(1)) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 Py_INCREF(Py_None
); resultobj
= Py_None
;
26232 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
;
26234 wxWindow
*arg1
= (wxWindow
*) 0 ;
26235 PyObject
* obj0
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26242 if (SWIG_arg_fail(1)) SWIG_fail
;
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 (arg1
)->FitInside();
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 Py_INCREF(Py_None
); resultobj
= Py_None
;
26257 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
;
26259 wxWindow
*arg1
= (wxWindow
*) 0 ;
26262 int arg4
= (int) -1 ;
26263 int arg5
= (int) -1 ;
26264 int arg6
= (int) -1 ;
26265 int arg7
= (int) -1 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 PyObject
* obj2
= 0 ;
26269 PyObject
* obj3
= 0 ;
26270 PyObject
* obj4
= 0 ;
26271 PyObject
* obj5
= 0 ;
26272 PyObject
* obj6
= 0 ;
26273 char *kwnames
[] = {
26274 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26279 if (SWIG_arg_fail(1)) SWIG_fail
;
26281 arg2
= (int)(SWIG_As_int(obj1
));
26282 if (SWIG_arg_fail(2)) SWIG_fail
;
26285 arg3
= (int)(SWIG_As_int(obj2
));
26286 if (SWIG_arg_fail(3)) SWIG_fail
;
26290 arg4
= (int)(SWIG_As_int(obj3
));
26291 if (SWIG_arg_fail(4)) SWIG_fail
;
26296 arg5
= (int)(SWIG_As_int(obj4
));
26297 if (SWIG_arg_fail(5)) SWIG_fail
;
26302 arg6
= (int)(SWIG_As_int(obj5
));
26303 if (SWIG_arg_fail(6)) SWIG_fail
;
26308 arg7
= (int)(SWIG_As_int(obj6
));
26309 if (SWIG_arg_fail(7)) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxWindow
*arg1
= (wxWindow
*) 0 ;
26330 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26331 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26332 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26333 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26337 PyObject
* obj0
= 0 ;
26338 PyObject
* obj1
= 0 ;
26339 PyObject
* obj2
= 0 ;
26340 PyObject
* obj3
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail
;
26350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26355 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 Py_INCREF(Py_None
); resultobj
= Py_None
;
26378 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxWindow
*arg1
= (wxWindow
*) 0 ;
26383 int arg4
= (int) -1 ;
26384 int arg5
= (int) -1 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 PyObject
* obj2
= 0 ;
26388 PyObject
* obj3
= 0 ;
26389 PyObject
* obj4
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26396 if (SWIG_arg_fail(1)) SWIG_fail
;
26398 arg2
= (int)(SWIG_As_int(obj1
));
26399 if (SWIG_arg_fail(2)) SWIG_fail
;
26402 arg3
= (int)(SWIG_As_int(obj2
));
26403 if (SWIG_arg_fail(3)) SWIG_fail
;
26407 arg4
= (int)(SWIG_As_int(obj3
));
26408 if (SWIG_arg_fail(4)) SWIG_fail
;
26413 arg5
= (int)(SWIG_As_int(obj4
));
26414 if (SWIG_arg_fail(5)) SWIG_fail
;
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxWindow
*arg1
= (wxWindow
*) 0 ;
26435 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26436 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 PyObject
* obj2
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26448 if (SWIG_arg_fail(1)) SWIG_fail
;
26451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26456 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 Py_INCREF(Py_None
); resultobj
= Py_None
;
26473 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxWindow
*arg1
= (wxWindow
*) 0 ;
26477 PyObject
* obj0
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self", NULL
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26484 if (SWIG_arg_fail(1)) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26493 wxSize
* resultptr
;
26494 resultptr
= new wxSize((wxSize
&)(result
));
26495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26503 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxWindow
*arg1
= (wxWindow
*) 0 ;
26507 PyObject
* obj0
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "self", NULL
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26514 if (SWIG_arg_fail(1)) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26523 wxSize
* resultptr
;
26524 resultptr
= new wxSize((wxSize
&)(result
));
26525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26533 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxWindow
*arg1
= (wxWindow
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 char *kwnames
[] = {
26541 (char *) "self",(char *) "minSize", NULL
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26546 if (SWIG_arg_fail(1)) SWIG_fail
;
26549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 Py_INCREF(Py_None
); resultobj
= Py_None
;
26565 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxWindow
*arg1
= (wxWindow
*) 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self",(char *) "maxSize", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26578 if (SWIG_arg_fail(1)) SWIG_fail
;
26581 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 Py_INCREF(Py_None
); resultobj
= Py_None
;
26597 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
;
26599 wxWindow
*arg1
= (wxWindow
*) 0 ;
26601 PyObject
* obj0
= 0 ;
26602 char *kwnames
[] = {
26603 (char *) "self", NULL
26606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26608 if (SWIG_arg_fail(1)) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_From_int((int)(result
));
26625 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxWindow
*arg1
= (wxWindow
*) 0 ;
26629 PyObject
* obj0
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26636 if (SWIG_arg_fail(1)) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_From_int((int)(result
));
26653 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxWindow
*arg1
= (wxWindow
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= SWIG_From_int((int)(result
));
26681 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
;
26683 wxWindow
*arg1
= (wxWindow
*) 0 ;
26685 PyObject
* obj0
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26692 if (SWIG_arg_fail(1)) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_From_int((int)(result
));
26709 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxWindow
*arg1
= (wxWindow
*) 0 ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "size", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail
;
26725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 Py_INCREF(Py_None
); resultobj
= Py_None
;
26741 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxWindow
*arg1
= (wxWindow
*) 0 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 PyObject
* obj2
= 0 ;
26749 char *kwnames
[] = {
26750 (char *) "self",(char *) "w",(char *) "h", NULL
26753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26755 if (SWIG_arg_fail(1)) SWIG_fail
;
26757 arg2
= (int)(SWIG_As_int(obj1
));
26758 if (SWIG_arg_fail(2)) SWIG_fail
;
26761 arg3
= (int)(SWIG_As_int(obj2
));
26762 if (SWIG_arg_fail(3)) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 (arg1
)->SetVirtualSize(arg2
,arg3
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 Py_INCREF(Py_None
); resultobj
= Py_None
;
26778 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxWindow
*arg1
= (wxWindow
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self", NULL
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26789 if (SWIG_arg_fail(1)) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26798 wxSize
* resultptr
;
26799 resultptr
= new wxSize((wxSize
&)(result
));
26800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26808 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxWindow
*arg1
= (wxWindow
*) 0 ;
26811 int *arg2
= (int *) 0 ;
26812 int *arg3
= (int *) 0 ;
26817 PyObject
* obj0
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "self", NULL
26822 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26823 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26826 if (SWIG_arg_fail(1)) SWIG_fail
;
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 Py_INCREF(Py_None
); resultobj
= Py_None
;
26835 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26836 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26837 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26838 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26845 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxWindow
*arg1
= (wxWindow
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26856 if (SWIG_arg_fail(1)) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 wxSize
* resultptr
;
26866 resultptr
= new wxSize((wxSize
&)(result
));
26867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26875 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxWindow
*arg1
= (wxWindow
*) 0 ;
26878 bool arg2
= (bool) true ;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self",(char *) "show", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26888 if (SWIG_arg_fail(1)) SWIG_fail
;
26891 arg2
= (bool)(SWIG_As_bool(obj1
));
26892 if (SWIG_arg_fail(2)) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= (bool)(arg1
)->Show(arg2
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26911 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxWindow
*arg1
= (wxWindow
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26922 if (SWIG_arg_fail(1)) SWIG_fail
;
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 result
= (bool)(arg1
)->Hide();
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26939 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
;
26941 wxWindow
*arg1
= (wxWindow
*) 0 ;
26942 bool arg2
= (bool) true ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "enable", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26952 if (SWIG_arg_fail(1)) SWIG_fail
;
26955 arg2
= (bool)(SWIG_As_bool(obj1
));
26956 if (SWIG_arg_fail(2)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (bool)(arg1
)->Enable(arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26975 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxWindow
*arg1
= (wxWindow
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 result
= (bool)(arg1
)->Disable();
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27003 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxWindow
*arg1
= (wxWindow
*) 0 ;
27007 PyObject
* obj0
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27014 if (SWIG_arg_fail(1)) SWIG_fail
;
27016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27017 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27019 wxPyEndAllowThreads(__tstate
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27031 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxWindow
*arg1
= (wxWindow
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27042 if (SWIG_arg_fail(1)) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27059 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxWindow
*arg1
= (wxWindow
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "style", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 arg2
= (long)(SWIG_As_long(obj1
));
27074 if (SWIG_arg_fail(2)) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 (arg1
)->SetWindowStyleFlag(arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 Py_INCREF(Py_None
); resultobj
= Py_None
;
27090 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxWindow
*arg1
= (wxWindow
*) 0 ;
27094 PyObject
* obj0
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27101 if (SWIG_arg_fail(1)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= SWIG_From_long((long)(result
));
27118 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxWindow
*arg1
= (wxWindow
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 char *kwnames
[] = {
27126 (char *) "self",(char *) "flag", NULL
27129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27131 if (SWIG_arg_fail(1)) SWIG_fail
;
27133 arg2
= (int)(SWIG_As_int(obj1
));
27134 if (SWIG_arg_fail(2)) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27152 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxWindow
*arg1
= (wxWindow
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27163 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27180 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxWindow
*arg1
= (wxWindow
*) 0 ;
27184 PyObject
* obj0
= 0 ;
27185 PyObject
* obj1
= 0 ;
27186 char *kwnames
[] = {
27187 (char *) "self",(char *) "exStyle", NULL
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27192 if (SWIG_arg_fail(1)) SWIG_fail
;
27194 arg2
= (long)(SWIG_As_long(obj1
));
27195 if (SWIG_arg_fail(2)) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 (arg1
)->SetExtraStyle(arg2
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 Py_INCREF(Py_None
); resultobj
= Py_None
;
27211 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxWindow
*arg1
= (wxWindow
*) 0 ;
27215 PyObject
* obj0
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27231 resultobj
= SWIG_From_long((long)(result
));
27239 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 wxWindow
*arg1
= (wxWindow
*) 0 ;
27242 bool arg2
= (bool) true ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 char *kwnames
[] = {
27246 (char *) "self",(char *) "modal", NULL
27249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27251 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 arg2
= (bool)(SWIG_As_bool(obj1
));
27255 if (SWIG_arg_fail(2)) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 (arg1
)->MakeModal(arg2
);
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 Py_INCREF(Py_None
); resultobj
= Py_None
;
27272 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 wxWindow
*arg1
= (wxWindow
*) 0 ;
27276 PyObject
* obj0
= 0 ;
27277 PyObject
* obj1
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self",(char *) "enableTheme", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27284 if (SWIG_arg_fail(1)) SWIG_fail
;
27286 arg2
= (bool)(SWIG_As_bool(obj1
));
27287 if (SWIG_arg_fail(2)) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 (arg1
)->SetThemeEnabled(arg2
);
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 Py_INCREF(Py_None
); resultobj
= Py_None
;
27303 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxWindow
*arg1
= (wxWindow
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27314 if (SWIG_arg_fail(1)) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxWindow
*arg1
= (wxWindow
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27341 if (SWIG_arg_fail(1)) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->SetFocus();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxWindow
*arg1
= (wxWindow
*) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27366 if (SWIG_arg_fail(1)) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 (arg1
)->SetFocusFromKbd();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 Py_INCREF(Py_None
); resultobj
= Py_None
;
27381 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27384 char *kwnames
[] = {
27388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27390 if (!wxPyCheckForApp()) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (wxWindow
*)wxWindow::FindFocus();
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= wxPyMake_wxObject(result
, 0);
27406 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxWindow
*arg1
= (wxWindow
*) 0 ;
27410 PyObject
* obj0
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27417 if (SWIG_arg_fail(1)) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27434 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxWindow
*arg1
= (wxWindow
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27445 if (SWIG_arg_fail(1)) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27462 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxWindow
*arg1
= (wxWindow
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27473 if (SWIG_arg_fail(1)) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= wxPyMake_wxObject(result
, 0);
27490 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 wxWindow
*arg2
= (wxWindow
*) 0 ;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj1
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self",(char *) "child", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27505 if (SWIG_arg_fail(2)) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= wxPyMake_wxObject(result
, 0);
27522 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxWindow
*arg1
= (wxWindow
*) 0 ;
27525 wxWindow
*arg2
= (wxWindow
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "win", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail
;
27535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27536 if (SWIG_arg_fail(2)) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 (arg1
)->SetTmpDefaultItem(arg2
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 Py_INCREF(Py_None
); resultobj
= Py_None
;
27551 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
;
27553 wxWindow
*arg1
= (wxWindow
*) 0 ;
27554 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self",(char *) "flags", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27564 if (SWIG_arg_fail(1)) SWIG_fail
;
27567 arg2
= (int)(SWIG_As_int(obj1
));
27568 if (SWIG_arg_fail(2)) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= (bool)(arg1
)->Navigate(arg2
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27587 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxWindow
*arg1
= (wxWindow
*) 0 ;
27590 wxWindow
*arg2
= (wxWindow
*) 0 ;
27591 PyObject
* obj0
= 0 ;
27592 PyObject
* obj1
= 0 ;
27593 char *kwnames
[] = {
27594 (char *) "self",(char *) "win", NULL
27597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27599 if (SWIG_arg_fail(1)) SWIG_fail
;
27600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27601 if (SWIG_arg_fail(2)) SWIG_fail
;
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 (arg1
)->MoveAfterInTabOrder(arg2
);
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 Py_INCREF(Py_None
); resultobj
= Py_None
;
27616 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27617 PyObject
*resultobj
;
27618 wxWindow
*arg1
= (wxWindow
*) 0 ;
27619 wxWindow
*arg2
= (wxWindow
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self",(char *) "win", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27628 if (SWIG_arg_fail(1)) SWIG_fail
;
27629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27630 if (SWIG_arg_fail(2)) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 (arg1
)->MoveBeforeInTabOrder(arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 Py_INCREF(Py_None
); resultobj
= Py_None
;
27645 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxWindow
*arg1
= (wxWindow
*) 0 ;
27649 PyObject
* obj0
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27656 if (SWIG_arg_fail(1)) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= result
;
27671 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxWindow
*arg1
= (wxWindow
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27682 if (SWIG_arg_fail(1)) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= wxPyMake_wxObject(result
, 0);
27699 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
;
27701 wxWindow
*arg1
= (wxWindow
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27710 if (SWIG_arg_fail(1)) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27719 resultobj
= wxPyMake_wxObject(result
, 0);
27727 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxWindow
*arg1
= (wxWindow
*) 0 ;
27731 PyObject
* obj0
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27738 if (SWIG_arg_fail(1)) SWIG_fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27755 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27756 PyObject
*resultobj
;
27757 wxWindow
*arg1
= (wxWindow
*) 0 ;
27758 wxWindow
*arg2
= (wxWindow
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self",(char *) "newParent", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27768 if (SWIG_arg_fail(1)) SWIG_fail
;
27769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27770 if (SWIG_arg_fail(2)) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= (bool)(arg1
)->Reparent(arg2
);
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27787 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxWindow
*arg1
= (wxWindow
*) 0 ;
27790 wxWindow
*arg2
= (wxWindow
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self",(char *) "child", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail
;
27800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27801 if (SWIG_arg_fail(2)) SWIG_fail
;
27803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27804 (arg1
)->AddChild(arg2
);
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27809 Py_INCREF(Py_None
); resultobj
= Py_None
;
27816 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
;
27818 wxWindow
*arg1
= (wxWindow
*) 0 ;
27819 wxWindow
*arg2
= (wxWindow
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self",(char *) "child", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27828 if (SWIG_arg_fail(1)) SWIG_fail
;
27829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27830 if (SWIG_arg_fail(2)) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 (arg1
)->RemoveChild(arg2
);
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 Py_INCREF(Py_None
); resultobj
= Py_None
;
27845 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxWindow
*arg1
= (wxWindow
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self",(char *) "winid", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail
;
27860 arg2
= (long)(SWIG_As_long(obj1
));
27861 if (SWIG_arg_fail(2)) SWIG_fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27871 resultobj
= wxPyMake_wxObject(result
, 0);
27879 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxWindow
*arg1
= (wxWindow
*) 0 ;
27882 wxString
*arg2
= 0 ;
27884 bool temp2
= false ;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self",(char *) "name", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27893 if (SWIG_arg_fail(1)) SWIG_fail
;
27895 arg2
= wxString_in_helper(obj1
);
27896 if (arg2
== NULL
) SWIG_fail
;
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27907 resultobj
= wxPyMake_wxObject(result
, 0);
27923 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxWindow
*arg1
= (wxWindow
*) 0 ;
27926 wxEvtHandler
*result
;
27927 PyObject
* obj0
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "self", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= wxPyMake_wxObject(result
, 0);
27951 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
;
27953 wxWindow
*arg1
= (wxWindow
*) 0 ;
27954 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 char *kwnames
[] = {
27958 (char *) "self",(char *) "handler", NULL
27961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27963 if (SWIG_arg_fail(1)) SWIG_fail
;
27964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27965 if (SWIG_arg_fail(2)) SWIG_fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 (arg1
)->SetEventHandler(arg2
);
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 Py_INCREF(Py_None
); resultobj
= Py_None
;
27980 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxWindow
*arg1
= (wxWindow
*) 0 ;
27983 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27984 PyObject
* obj0
= 0 ;
27985 PyObject
* obj1
= 0 ;
27986 char *kwnames
[] = {
27987 (char *) "self",(char *) "handler", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27992 if (SWIG_arg_fail(1)) SWIG_fail
;
27993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27994 if (SWIG_arg_fail(2)) SWIG_fail
;
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 (arg1
)->PushEventHandler(arg2
);
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28002 Py_INCREF(Py_None
); resultobj
= Py_None
;
28009 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxWindow
*arg1
= (wxWindow
*) 0 ;
28012 bool arg2
= (bool) false ;
28013 wxEvtHandler
*result
;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "deleteHandler", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28022 if (SWIG_arg_fail(1)) SWIG_fail
;
28025 arg2
= (bool)(SWIG_As_bool(obj1
));
28026 if (SWIG_arg_fail(2)) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= wxPyMake_wxObject(result
, 0);
28045 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxWindow
*arg1
= (wxWindow
*) 0 ;
28048 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "handler", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail
;
28059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28060 if (SWIG_arg_fail(2)) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28077 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28078 PyObject
*resultobj
;
28079 wxWindow
*arg1
= (wxWindow
*) 0 ;
28080 wxValidator
*arg2
= 0 ;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self",(char *) "validator", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail
;
28091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28092 if (SWIG_arg_fail(2)) SWIG_fail
;
28093 if (arg2
== NULL
) {
28094 SWIG_null_ref("wxValidator");
28096 if (SWIG_arg_fail(2)) SWIG_fail
;
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28100 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28105 Py_INCREF(Py_None
); resultobj
= Py_None
;
28112 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
;
28114 wxWindow
*arg1
= (wxWindow
*) 0 ;
28115 wxValidator
*result
;
28116 PyObject
* obj0
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28123 if (SWIG_arg_fail(1)) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= (wxValidator
*)(arg1
)->GetValidator();
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= wxPyMake_wxObject(result
, 0);
28140 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxWindow
*arg1
= (wxWindow
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 char *kwnames
[] = {
28146 (char *) "self", NULL
28149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28151 if (SWIG_arg_fail(1)) SWIG_fail
;
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (bool)(arg1
)->Validate();
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28168 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxWindow
*arg1
= (wxWindow
*) 0 ;
28172 PyObject
* obj0
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28179 if (SWIG_arg_fail(1)) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= (bool)(arg1
)->TransferDataToWindow();
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28196 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxWindow
*arg1
= (wxWindow
*) 0 ;
28200 PyObject
* obj0
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28207 if (SWIG_arg_fail(1)) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (bool)(arg1
)->TransferDataFromWindow();
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28224 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
;
28226 wxWindow
*arg1
= (wxWindow
*) 0 ;
28227 PyObject
* obj0
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28234 if (SWIG_arg_fail(1)) SWIG_fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 (arg1
)->InitDialog();
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 Py_INCREF(Py_None
); resultobj
= Py_None
;
28249 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxWindow
*arg1
= (wxWindow
*) 0 ;
28252 wxAcceleratorTable
*arg2
= 0 ;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self",(char *) "accel", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28261 if (SWIG_arg_fail(1)) SWIG_fail
;
28263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28264 if (SWIG_arg_fail(2)) SWIG_fail
;
28265 if (arg2
== NULL
) {
28266 SWIG_null_ref("wxAcceleratorTable");
28268 if (SWIG_arg_fail(2)) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 Py_INCREF(Py_None
); resultobj
= Py_None
;
28284 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxWindow
*arg1
= (wxWindow
*) 0 ;
28287 wxAcceleratorTable
*result
;
28288 PyObject
* obj0
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "self", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28295 if (SWIG_arg_fail(1)) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28310 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxWindow
*arg1
= (wxWindow
*) 0 ;
28317 PyObject
* obj0
= 0 ;
28318 PyObject
* obj1
= 0 ;
28319 PyObject
* obj2
= 0 ;
28320 PyObject
* obj3
= 0 ;
28321 char *kwnames
[] = {
28322 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28327 if (SWIG_arg_fail(1)) SWIG_fail
;
28329 arg2
= (int)(SWIG_As_int(obj1
));
28330 if (SWIG_arg_fail(2)) SWIG_fail
;
28333 arg3
= (int)(SWIG_As_int(obj2
));
28334 if (SWIG_arg_fail(3)) SWIG_fail
;
28337 arg4
= (int)(SWIG_As_int(obj3
));
28338 if (SWIG_arg_fail(4)) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28356 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
;
28358 wxWindow
*arg1
= (wxWindow
*) 0 ;
28361 PyObject
* obj0
= 0 ;
28362 PyObject
* obj1
= 0 ;
28363 char *kwnames
[] = {
28364 (char *) "self",(char *) "hotkeyId", NULL
28367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail
;
28371 arg2
= (int)(SWIG_As_int(obj1
));
28372 if (SWIG_arg_fail(2)) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28390 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxWindow
*arg1
= (wxWindow
*) 0 ;
28393 wxPoint
*arg2
= 0 ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 char *kwnames
[] = {
28399 (char *) "self",(char *) "pt", NULL
28402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28404 if (SWIG_arg_fail(1)) SWIG_fail
;
28407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28417 wxPoint
* resultptr
;
28418 resultptr
= new wxPoint((wxPoint
&)(result
));
28419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28427 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxWindow
*arg1
= (wxWindow
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self",(char *) "sz", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28441 if (SWIG_arg_fail(1)) SWIG_fail
;
28444 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28454 wxSize
* resultptr
;
28455 resultptr
= new wxSize((wxSize
&)(result
));
28456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28464 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
;
28466 wxWindow
*arg1
= (wxWindow
*) 0 ;
28467 wxPoint
*arg2
= 0 ;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self",(char *) "pt", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28478 if (SWIG_arg_fail(1)) SWIG_fail
;
28481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28485 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28491 wxPoint
* resultptr
;
28492 resultptr
= new wxPoint((wxPoint
&)(result
));
28493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28501 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28503 wxWindow
*arg1
= (wxWindow
*) 0 ;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 char *kwnames
[] = {
28510 (char *) "self",(char *) "sz", NULL
28513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28515 if (SWIG_arg_fail(1)) SWIG_fail
;
28518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 wxSize
* resultptr
;
28529 resultptr
= new wxSize((wxSize
&)(result
));
28530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28538 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28539 PyObject
*resultobj
;
28540 wxWindow
*arg1
= (wxWindow
*) 0 ;
28541 wxPoint
*arg2
= 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "pt", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28552 if (SWIG_arg_fail(1)) SWIG_fail
;
28555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28565 wxPoint
* resultptr
;
28566 resultptr
= new wxPoint((wxPoint
&)(result
));
28567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28575 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
;
28577 wxWindow
*arg1
= (wxWindow
*) 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 char *kwnames
[] = {
28584 (char *) "self",(char *) "sz", NULL
28587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28589 if (SWIG_arg_fail(1)) SWIG_fail
;
28592 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 wxSize
* resultptr
;
28603 resultptr
= new wxSize((wxSize
&)(result
));
28604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28612 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxWindow
*arg1
= (wxWindow
*) 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 PyObject
* obj2
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self",(char *) "x",(char *) "y", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28626 if (SWIG_arg_fail(1)) SWIG_fail
;
28628 arg2
= (int)(SWIG_As_int(obj1
));
28629 if (SWIG_arg_fail(2)) SWIG_fail
;
28632 arg3
= (int)(SWIG_As_int(obj2
));
28633 if (SWIG_arg_fail(3)) SWIG_fail
;
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 (arg1
)->WarpPointer(arg2
,arg3
);
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28642 Py_INCREF(Py_None
); resultobj
= Py_None
;
28649 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28650 PyObject
*resultobj
;
28651 wxWindow
*arg1
= (wxWindow
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28659 if (SWIG_arg_fail(1)) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 (arg1
)->CaptureMouse();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 Py_INCREF(Py_None
); resultobj
= Py_None
;
28674 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
;
28676 wxWindow
*arg1
= (wxWindow
*) 0 ;
28677 PyObject
* obj0
= 0 ;
28678 char *kwnames
[] = {
28679 (char *) "self", NULL
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28684 if (SWIG_arg_fail(1)) SWIG_fail
;
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 (arg1
)->ReleaseMouse();
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 Py_INCREF(Py_None
); resultobj
= Py_None
;
28699 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28702 char *kwnames
[] = {
28706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28708 if (!wxPyCheckForApp()) SWIG_fail
;
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (wxWindow
*)wxWindow::GetCapture();
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= wxPyMake_wxObject(result
, 0);
28724 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxWindow
*arg1
= (wxWindow
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 char *kwnames
[] = {
28730 (char *) "self", NULL
28733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28735 if (SWIG_arg_fail(1)) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28752 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
;
28754 wxWindow
*arg1
= (wxWindow
*) 0 ;
28755 bool arg2
= (bool) true ;
28756 wxRect
*arg3
= (wxRect
*) NULL
;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 PyObject
* obj2
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28766 if (SWIG_arg_fail(1)) SWIG_fail
;
28769 arg2
= (bool)(SWIG_As_bool(obj1
));
28770 if (SWIG_arg_fail(2)) SWIG_fail
;
28774 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28775 if (SWIG_arg_fail(3)) SWIG_fail
;
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28784 Py_INCREF(Py_None
); resultobj
= Py_None
;
28791 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxWindow
*arg1
= (wxWindow
*) 0 ;
28795 bool arg3
= (bool) true ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28806 if (SWIG_arg_fail(1)) SWIG_fail
;
28809 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28813 arg3
= (bool)(SWIG_As_bool(obj2
));
28814 if (SWIG_arg_fail(3)) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 Py_INCREF(Py_None
); resultobj
= Py_None
;
28831 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxWindow
*arg1
= (wxWindow
*) 0 ;
28834 PyObject
* obj0
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28841 if (SWIG_arg_fail(1)) SWIG_fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 Py_INCREF(Py_None
); resultobj
= Py_None
;
28856 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
;
28858 wxWindow
*arg1
= (wxWindow
*) 0 ;
28859 PyObject
* obj0
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28866 if (SWIG_arg_fail(1)) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 (arg1
)->ClearBackground();
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 Py_INCREF(Py_None
); resultobj
= Py_None
;
28881 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxWindow
*arg1
= (wxWindow
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28891 if (SWIG_arg_fail(1)) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28899 Py_INCREF(Py_None
); resultobj
= Py_None
;
28906 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxWindow
*arg1
= (wxWindow
*) 0 ;
28909 PyObject
* obj0
= 0 ;
28910 char *kwnames
[] = {
28911 (char *) "self", NULL
28914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28916 if (SWIG_arg_fail(1)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 Py_INCREF(Py_None
); resultobj
= Py_None
;
28931 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxWindow
*arg1
= (wxWindow
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "dc", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail
;
28945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28946 if (SWIG_arg_fail(2)) SWIG_fail
;
28947 if (arg2
== NULL
) {
28948 SWIG_null_ref("wxDC");
28950 if (SWIG_arg_fail(2)) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 (arg1
)->PrepareDC(*arg2
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxWindow
*arg1
= (wxWindow
*) 0 ;
28970 PyObject
* obj0
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail
;
28979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28982 result
= (wxRegion
*) &_result_ref
;
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28995 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxWindow
*arg1
= (wxWindow
*) 0 ;
28999 PyObject
* obj0
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29006 if (SWIG_arg_fail(1)) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 wxRect
* resultptr
;
29016 resultptr
= new wxRect((wxRect
&)(result
));
29017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29025 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29026 PyObject
*resultobj
;
29027 wxWindow
*arg1
= (wxWindow
*) 0 ;
29030 int arg4
= (int) 1 ;
29031 int arg5
= (int) 1 ;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 PyObject
* obj2
= 0 ;
29036 PyObject
* obj3
= 0 ;
29037 PyObject
* obj4
= 0 ;
29038 char *kwnames
[] = {
29039 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29044 if (SWIG_arg_fail(1)) SWIG_fail
;
29046 arg2
= (int)(SWIG_As_int(obj1
));
29047 if (SWIG_arg_fail(2)) SWIG_fail
;
29050 arg3
= (int)(SWIG_As_int(obj2
));
29051 if (SWIG_arg_fail(3)) SWIG_fail
;
29055 arg4
= (int)(SWIG_As_int(obj3
));
29056 if (SWIG_arg_fail(4)) SWIG_fail
;
29061 arg5
= (int)(SWIG_As_int(obj4
));
29062 if (SWIG_arg_fail(5)) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29081 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29082 PyObject
*resultobj
;
29083 wxWindow
*arg1
= (wxWindow
*) 0 ;
29084 wxPoint
*arg2
= 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char *kwnames
[] = {
29090 (char *) "self",(char *) "pt", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29095 if (SWIG_arg_fail(1)) SWIG_fail
;
29098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29116 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxWindow
*arg1
= (wxWindow
*) 0 ;
29122 PyObject
* obj0
= 0 ;
29123 PyObject
* obj1
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "self",(char *) "rect", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29130 if (SWIG_arg_fail(1)) SWIG_fail
;
29133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29151 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29152 PyObject
*resultobj
;
29153 wxWindow
*arg1
= (wxWindow
*) 0 ;
29154 wxVisualAttributes result
;
29155 PyObject
* obj0
= 0 ;
29156 char *kwnames
[] = {
29157 (char *) "self", NULL
29160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29171 wxVisualAttributes
* resultptr
;
29172 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29181 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29184 wxVisualAttributes result
;
29185 PyObject
* obj0
= 0 ;
29186 char *kwnames
[] = {
29187 (char *) "variant", NULL
29190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29193 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29194 if (SWIG_arg_fail(1)) SWIG_fail
;
29198 if (!wxPyCheckForApp()) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 wxVisualAttributes
* resultptr
;
29207 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29216 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxWindow
*arg1
= (wxWindow
*) 0 ;
29219 wxColour
*arg2
= 0 ;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 char *kwnames
[] = {
29225 (char *) "self",(char *) "colour", NULL
29228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29230 if (SWIG_arg_fail(1)) SWIG_fail
;
29233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29251 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
;
29253 wxWindow
*arg1
= (wxWindow
*) 0 ;
29254 wxColour
*arg2
= 0 ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 char *kwnames
[] = {
29259 (char *) "self",(char *) "colour", NULL
29262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29264 if (SWIG_arg_fail(1)) SWIG_fail
;
29267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 Py_INCREF(Py_None
); resultobj
= Py_None
;
29283 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
;
29285 wxWindow
*arg1
= (wxWindow
*) 0 ;
29286 wxColour
*arg2
= 0 ;
29289 PyObject
* obj0
= 0 ;
29290 PyObject
* obj1
= 0 ;
29291 char *kwnames
[] = {
29292 (char *) "self",(char *) "colour", NULL
29295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29297 if (SWIG_arg_fail(1)) SWIG_fail
;
29300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29318 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxWindow
*arg1
= (wxWindow
*) 0 ;
29321 wxColour
*arg2
= 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "self",(char *) "colour", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29331 if (SWIG_arg_fail(1)) SWIG_fail
;
29334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29343 Py_INCREF(Py_None
); resultobj
= Py_None
;
29350 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxWindow
*arg1
= (wxWindow
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 wxColour
* resultptr
;
29371 resultptr
= new wxColour((wxColour
&)(result
));
29372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29380 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
;
29382 wxWindow
*arg1
= (wxWindow
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29391 if (SWIG_arg_fail(1)) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29400 wxColour
* resultptr
;
29401 resultptr
= new wxColour((wxColour
&)(result
));
29402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29410 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxWindow
*arg1
= (wxWindow
*) 0 ;
29413 wxBackgroundStyle arg2
;
29415 PyObject
* obj0
= 0 ;
29416 PyObject
* obj1
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "style", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29423 if (SWIG_arg_fail(1)) SWIG_fail
;
29425 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29426 if (SWIG_arg_fail(2)) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29444 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
;
29446 wxWindow
*arg1
= (wxWindow
*) 0 ;
29447 wxBackgroundStyle result
;
29448 PyObject
* obj0
= 0 ;
29449 char *kwnames
[] = {
29450 (char *) "self", NULL
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29455 if (SWIG_arg_fail(1)) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_From_int((result
));
29470 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxWindow
*arg1
= (wxWindow
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(1)) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (bool)(arg1
)->HasTransparentBackground();
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29498 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxWindow
*arg1
= (wxWindow
*) 0 ;
29501 wxCursor
*arg2
= 0 ;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 char *kwnames
[] = {
29506 (char *) "self",(char *) "cursor", NULL
29509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29511 if (SWIG_arg_fail(1)) SWIG_fail
;
29513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29514 if (SWIG_arg_fail(2)) SWIG_fail
;
29515 if (arg2
== NULL
) {
29516 SWIG_null_ref("wxCursor");
29518 if (SWIG_arg_fail(2)) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29536 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
;
29538 wxWindow
*arg1
= (wxWindow
*) 0 ;
29540 PyObject
* obj0
= 0 ;
29541 char *kwnames
[] = {
29542 (char *) "self", NULL
29545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29547 if (SWIG_arg_fail(1)) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (arg1
)->GetCursor();
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29556 wxCursor
* resultptr
;
29557 resultptr
= new wxCursor((wxCursor
&)(result
));
29558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29566 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
;
29568 wxWindow
*arg1
= (wxWindow
*) 0 ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 char *kwnames
[] = {
29574 (char *) "self",(char *) "font", NULL
29577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29579 if (SWIG_arg_fail(1)) SWIG_fail
;
29581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29582 if (SWIG_arg_fail(2)) SWIG_fail
;
29583 if (arg2
== NULL
) {
29584 SWIG_null_ref("wxFont");
29586 if (SWIG_arg_fail(2)) SWIG_fail
;
29589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29590 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29604 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
;
29606 wxWindow
*arg1
= (wxWindow
*) 0 ;
29608 PyObject
* obj0
= 0 ;
29609 PyObject
* obj1
= 0 ;
29610 char *kwnames
[] = {
29611 (char *) "self",(char *) "font", NULL
29614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29616 if (SWIG_arg_fail(1)) SWIG_fail
;
29618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29619 if (SWIG_arg_fail(2)) SWIG_fail
;
29620 if (arg2
== NULL
) {
29621 SWIG_null_ref("wxFont");
29623 if (SWIG_arg_fail(2)) SWIG_fail
;
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29627 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 Py_INCREF(Py_None
); resultobj
= Py_None
;
29639 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
;
29641 wxWindow
*arg1
= (wxWindow
*) 0 ;
29643 PyObject
* obj0
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "self", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29650 if (SWIG_arg_fail(1)) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (arg1
)->GetFont();
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 wxFont
* resultptr
;
29660 resultptr
= new wxFont((wxFont
&)(result
));
29661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29669 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxWindow
*arg1
= (wxWindow
*) 0 ;
29672 wxCaret
*arg2
= (wxCaret
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char *kwnames
[] = {
29676 (char *) "self",(char *) "caret", NULL
29679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29681 if (SWIG_arg_fail(1)) SWIG_fail
;
29682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29683 if (SWIG_arg_fail(2)) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 (arg1
)->SetCaret(arg2
);
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29691 Py_INCREF(Py_None
); resultobj
= Py_None
;
29698 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxWindow
*arg1
= (wxWindow
*) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29709 if (SWIG_arg_fail(1)) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29724 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
;
29726 wxWindow
*arg1
= (wxWindow
*) 0 ;
29728 PyObject
* obj0
= 0 ;
29729 char *kwnames
[] = {
29730 (char *) "self", NULL
29733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29735 if (SWIG_arg_fail(1)) SWIG_fail
;
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= SWIG_From_int((int)(result
));
29752 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxWindow
*arg1
= (wxWindow
*) 0 ;
29756 PyObject
* obj0
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29763 if (SWIG_arg_fail(1)) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= SWIG_From_int((int)(result
));
29780 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
;
29782 wxWindow
*arg1
= (wxWindow
*) 0 ;
29783 wxString
*arg2
= 0 ;
29784 int *arg3
= (int *) 0 ;
29785 int *arg4
= (int *) 0 ;
29786 bool temp2
= false ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 char *kwnames
[] = {
29794 (char *) "self",(char *) "string", NULL
29797 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29798 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29801 if (SWIG_arg_fail(1)) SWIG_fail
;
29803 arg2
= wxString_in_helper(obj1
);
29804 if (arg2
== NULL
) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 Py_INCREF(Py_None
); resultobj
= Py_None
;
29815 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29816 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29817 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29818 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29833 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxWindow
*arg1
= (wxWindow
*) 0 ;
29836 wxString
*arg2
= 0 ;
29837 int *arg3
= (int *) 0 ;
29838 int *arg4
= (int *) 0 ;
29839 int *arg5
= (int *) 0 ;
29840 int *arg6
= (int *) 0 ;
29841 wxFont
*arg7
= (wxFont
*) NULL
;
29842 bool temp2
= false ;
29851 PyObject
* obj0
= 0 ;
29852 PyObject
* obj1
= 0 ;
29853 PyObject
* obj2
= 0 ;
29854 char *kwnames
[] = {
29855 (char *) "self",(char *) "string",(char *) "font", NULL
29858 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29859 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29860 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29861 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29864 if (SWIG_arg_fail(1)) SWIG_fail
;
29866 arg2
= wxString_in_helper(obj1
);
29867 if (arg2
== NULL
) SWIG_fail
;
29871 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29872 if (SWIG_arg_fail(7)) SWIG_fail
;
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 Py_INCREF(Py_None
); resultobj
= Py_None
;
29882 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29883 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29884 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29885 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29886 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29887 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29888 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29889 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29904 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
;
29906 wxWindow
*arg1
= (wxWindow
*) 0 ;
29907 int *arg2
= (int *) 0 ;
29908 int *arg3
= (int *) 0 ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 PyObject
* obj2
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self",(char *) "x",(char *) "y", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29922 if (SWIG_arg_fail(1)) SWIG_fail
;
29924 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29925 temp2
= SWIG_As_int(obj1
);
29926 if (SWIG_arg_fail(2)) SWIG_fail
;
29928 res2
= SWIG_NEWOBJ
;
29932 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29933 temp3
= SWIG_As_int(obj2
);
29934 if (SWIG_arg_fail(3)) SWIG_fail
;
29936 res3
= SWIG_NEWOBJ
;
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 Py_INCREF(Py_None
); resultobj
= Py_None
;
29947 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29948 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29949 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29950 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29957 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
;
29959 wxWindow
*arg1
= (wxWindow
*) 0 ;
29960 int *arg2
= (int *) 0 ;
29961 int *arg3
= (int *) 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 PyObject
* obj2
= 0 ;
29969 char *kwnames
[] = {
29970 (char *) "self",(char *) "x",(char *) "y", NULL
29973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29975 if (SWIG_arg_fail(1)) SWIG_fail
;
29977 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29978 temp2
= SWIG_As_int(obj1
);
29979 if (SWIG_arg_fail(2)) SWIG_fail
;
29981 res2
= SWIG_NEWOBJ
;
29985 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29986 temp3
= SWIG_As_int(obj2
);
29987 if (SWIG_arg_fail(3)) SWIG_fail
;
29989 res3
= SWIG_NEWOBJ
;
29993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 Py_INCREF(Py_None
); resultobj
= Py_None
;
30000 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30001 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30002 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30003 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30010 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxWindow
*arg1
= (wxWindow
*) 0 ;
30013 wxPoint
*arg2
= 0 ;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 char *kwnames
[] = {
30019 (char *) "self",(char *) "pt", NULL
30022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30024 if (SWIG_arg_fail(1)) SWIG_fail
;
30027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30037 wxPoint
* resultptr
;
30038 resultptr
= new wxPoint((wxPoint
&)(result
));
30039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30047 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
;
30049 wxWindow
*arg1
= (wxWindow
*) 0 ;
30050 wxPoint
*arg2
= 0 ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 char *kwnames
[] = {
30056 (char *) "self",(char *) "pt", NULL
30059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30061 if (SWIG_arg_fail(1)) SWIG_fail
;
30064 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30074 wxPoint
* resultptr
;
30075 resultptr
= new wxPoint((wxPoint
&)(result
));
30076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30084 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxWindow
*arg1
= (wxWindow
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 PyObject
* obj2
= 0 ;
30093 char *kwnames
[] = {
30094 (char *) "self",(char *) "x",(char *) "y", NULL
30097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30099 if (SWIG_arg_fail(1)) SWIG_fail
;
30101 arg2
= (int)(SWIG_As_int(obj1
));
30102 if (SWIG_arg_fail(2)) SWIG_fail
;
30105 arg3
= (int)(SWIG_As_int(obj2
));
30106 if (SWIG_arg_fail(3)) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= SWIG_From_int((result
));
30122 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxWindow
*arg1
= (wxWindow
*) 0 ;
30125 wxPoint
*arg2
= 0 ;
30128 PyObject
* obj0
= 0 ;
30129 PyObject
* obj1
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self",(char *) "pt", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30136 if (SWIG_arg_fail(1)) SWIG_fail
;
30139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_From_int((result
));
30155 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30156 PyObject
*resultobj
;
30157 wxWindow
*arg1
= (wxWindow
*) 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30163 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30165 if (SWIG_arg_fail(1)) SWIG_fail
;
30167 arg2
= (long)(SWIG_As_long(obj1
));
30168 if (SWIG_arg_fail(2)) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= SWIG_From_int((result
));
30184 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30185 PyObject
*resultobj
;
30186 wxWindow
*arg1
= (wxWindow
*) 0 ;
30188 PyObject
* obj0
= 0 ;
30190 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30192 if (SWIG_arg_fail(1)) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_From_int((result
));
30207 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30212 argc
= PyObject_Length(args
);
30213 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30214 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30220 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30228 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30235 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30243 _v
= SWIG_Check_long(argv
[1]);
30245 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30250 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30255 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
;
30257 wxWindow
*arg1
= (wxWindow
*) 0 ;
30258 long arg2
= (long) wxUPDATE_UI_NONE
;
30259 PyObject
* obj0
= 0 ;
30260 PyObject
* obj1
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self",(char *) "flags", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30267 if (SWIG_arg_fail(1)) SWIG_fail
;
30270 arg2
= (long)(SWIG_As_long(obj1
));
30271 if (SWIG_arg_fail(2)) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 (arg1
)->UpdateWindowUI(arg2
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 Py_INCREF(Py_None
); resultobj
= Py_None
;
30288 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxWindow
*arg1
= (wxWindow
*) 0 ;
30291 wxMenu
*arg2
= (wxMenu
*) 0 ;
30292 int arg3
= (int) -1 ;
30293 int arg4
= (int) -1 ;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 PyObject
* obj2
= 0 ;
30298 PyObject
* obj3
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(1)) SWIG_fail
;
30306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30307 if (SWIG_arg_fail(2)) SWIG_fail
;
30310 arg3
= (int)(SWIG_As_int(obj2
));
30311 if (SWIG_arg_fail(3)) SWIG_fail
;
30316 arg4
= (int)(SWIG_As_int(obj3
));
30317 if (SWIG_arg_fail(4)) SWIG_fail
;
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30336 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
;
30338 wxWindow
*arg1
= (wxWindow
*) 0 ;
30339 wxMenu
*arg2
= (wxMenu
*) 0 ;
30340 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30341 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 PyObject
* obj2
= 0 ;
30347 char *kwnames
[] = {
30348 (char *) "self",(char *) "menu",(char *) "pos", NULL
30351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30353 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30355 if (SWIG_arg_fail(2)) SWIG_fail
;
30359 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30378 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxWindow
*arg1
= (wxWindow
*) 0 ;
30382 PyObject
* obj0
= 0 ;
30383 char *kwnames
[] = {
30384 (char *) "self", NULL
30387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30389 if (SWIG_arg_fail(1)) SWIG_fail
;
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30392 result
= (long)wxWindow_GetHandle(arg1
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= SWIG_From_long((long)(result
));
30406 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30407 PyObject
*resultobj
;
30408 wxWindow
*arg1
= (wxWindow
*) 0 ;
30410 PyObject
* obj0
= 0 ;
30411 PyObject
* obj1
= 0 ;
30412 char *kwnames
[] = {
30413 (char *) "self",(char *) "handle", NULL
30416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30418 if (SWIG_arg_fail(1)) SWIG_fail
;
30420 arg2
= (long)(SWIG_As_long(obj1
));
30421 if (SWIG_arg_fail(2)) SWIG_fail
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 wxWindow_AssociateHandle(arg1
,arg2
);
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30430 Py_INCREF(Py_None
); resultobj
= Py_None
;
30437 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
;
30439 wxWindow
*arg1
= (wxWindow
*) 0 ;
30440 PyObject
* obj0
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "self", NULL
30445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30447 if (SWIG_arg_fail(1)) SWIG_fail
;
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 (arg1
)->DissociateHandle();
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 Py_INCREF(Py_None
); resultobj
= Py_None
;
30462 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30463 PyObject
*resultobj
;
30464 wxWindow
*arg1
= (wxWindow
*) 0 ;
30467 PyObject
* obj0
= 0 ;
30468 PyObject
* obj1
= 0 ;
30469 char *kwnames
[] = {
30470 (char *) "self",(char *) "orient", NULL
30473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30475 if (SWIG_arg_fail(1)) SWIG_fail
;
30477 arg2
= (int)(SWIG_As_int(obj1
));
30478 if (SWIG_arg_fail(2)) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30496 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
;
30498 wxWindow
*arg1
= (wxWindow
*) 0 ;
30503 bool arg6
= (bool) true ;
30504 PyObject
* obj0
= 0 ;
30505 PyObject
* obj1
= 0 ;
30506 PyObject
* obj2
= 0 ;
30507 PyObject
* obj3
= 0 ;
30508 PyObject
* obj4
= 0 ;
30509 PyObject
* obj5
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30516 if (SWIG_arg_fail(1)) SWIG_fail
;
30518 arg2
= (int)(SWIG_As_int(obj1
));
30519 if (SWIG_arg_fail(2)) SWIG_fail
;
30522 arg3
= (int)(SWIG_As_int(obj2
));
30523 if (SWIG_arg_fail(3)) SWIG_fail
;
30526 arg4
= (int)(SWIG_As_int(obj3
));
30527 if (SWIG_arg_fail(4)) SWIG_fail
;
30530 arg5
= (int)(SWIG_As_int(obj4
));
30531 if (SWIG_arg_fail(5)) SWIG_fail
;
30535 arg6
= (bool)(SWIG_As_bool(obj5
));
30536 if (SWIG_arg_fail(6)) SWIG_fail
;
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 Py_INCREF(Py_None
); resultobj
= Py_None
;
30553 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxWindow
*arg1
= (wxWindow
*) 0 ;
30558 bool arg4
= (bool) true ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 PyObject
* obj2
= 0 ;
30562 PyObject
* obj3
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30569 if (SWIG_arg_fail(1)) SWIG_fail
;
30571 arg2
= (int)(SWIG_As_int(obj1
));
30572 if (SWIG_arg_fail(2)) SWIG_fail
;
30575 arg3
= (int)(SWIG_As_int(obj2
));
30576 if (SWIG_arg_fail(3)) SWIG_fail
;
30580 arg4
= (bool)(SWIG_As_bool(obj3
));
30581 if (SWIG_arg_fail(4)) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 Py_INCREF(Py_None
); resultobj
= Py_None
;
30598 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxWindow
*arg1
= (wxWindow
*) 0 ;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "orientation", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30611 if (SWIG_arg_fail(1)) SWIG_fail
;
30613 arg2
= (int)(SWIG_As_int(obj1
));
30614 if (SWIG_arg_fail(2)) SWIG_fail
;
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_From_int((int)(result
));
30632 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxWindow
*arg1
= (wxWindow
*) 0 ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self",(char *) "orientation", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(1)) SWIG_fail
;
30647 arg2
= (int)(SWIG_As_int(obj1
));
30648 if (SWIG_arg_fail(2)) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30658 resultobj
= SWIG_From_int((int)(result
));
30666 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxWindow
*arg1
= (wxWindow
*) 0 ;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "orientation", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail
;
30681 arg2
= (int)(SWIG_As_int(obj1
));
30682 if (SWIG_arg_fail(2)) SWIG_fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30692 resultobj
= SWIG_From_int((int)(result
));
30700 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxWindow
*arg1
= (wxWindow
*) 0 ;
30705 wxRect
*arg4
= (wxRect
*) NULL
;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 PyObject
* obj2
= 0 ;
30709 PyObject
* obj3
= 0 ;
30710 char *kwnames
[] = {
30711 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30716 if (SWIG_arg_fail(1)) SWIG_fail
;
30718 arg2
= (int)(SWIG_As_int(obj1
));
30719 if (SWIG_arg_fail(2)) SWIG_fail
;
30722 arg3
= (int)(SWIG_As_int(obj2
));
30723 if (SWIG_arg_fail(3)) SWIG_fail
;
30726 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30727 if (SWIG_arg_fail(4)) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 Py_INCREF(Py_None
); resultobj
= Py_None
;
30743 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30744 PyObject
*resultobj
;
30745 wxWindow
*arg1
= (wxWindow
*) 0 ;
30748 PyObject
* obj0
= 0 ;
30749 PyObject
* obj1
= 0 ;
30750 char *kwnames
[] = {
30751 (char *) "self",(char *) "lines", NULL
30754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30756 if (SWIG_arg_fail(1)) SWIG_fail
;
30758 arg2
= (int)(SWIG_As_int(obj1
));
30759 if (SWIG_arg_fail(2)) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 result
= (bool)(arg1
)->ScrollLines(arg2
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30777 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
;
30779 wxWindow
*arg1
= (wxWindow
*) 0 ;
30782 PyObject
* obj0
= 0 ;
30783 PyObject
* obj1
= 0 ;
30784 char *kwnames
[] = {
30785 (char *) "self",(char *) "pages", NULL
30788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30790 if (SWIG_arg_fail(1)) SWIG_fail
;
30792 arg2
= (int)(SWIG_As_int(obj1
));
30793 if (SWIG_arg_fail(2)) SWIG_fail
;
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= (bool)(arg1
)->ScrollPages(arg2
);
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30811 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxWindow
*arg1
= (wxWindow
*) 0 ;
30815 PyObject
* obj0
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (bool)(arg1
)->LineUp();
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30839 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
;
30841 wxWindow
*arg1
= (wxWindow
*) 0 ;
30843 PyObject
* obj0
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30850 if (SWIG_arg_fail(1)) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (bool)(arg1
)->LineDown();
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30867 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxWindow
*arg1
= (wxWindow
*) 0 ;
30871 PyObject
* obj0
= 0 ;
30872 char *kwnames
[] = {
30873 (char *) "self", NULL
30876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30878 if (SWIG_arg_fail(1)) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (bool)(arg1
)->PageUp();
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30895 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30896 PyObject
*resultobj
;
30897 wxWindow
*arg1
= (wxWindow
*) 0 ;
30899 PyObject
* obj0
= 0 ;
30900 char *kwnames
[] = {
30901 (char *) "self", NULL
30904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30906 if (SWIG_arg_fail(1)) SWIG_fail
;
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (bool)(arg1
)->PageDown();
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30923 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30924 PyObject
*resultobj
;
30925 wxWindow
*arg1
= (wxWindow
*) 0 ;
30926 wxString
*arg2
= 0 ;
30927 bool temp2
= false ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 char *kwnames
[] = {
30931 (char *) "self",(char *) "text", NULL
30934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30936 if (SWIG_arg_fail(1)) SWIG_fail
;
30938 arg2
= wxString_in_helper(obj1
);
30939 if (arg2
== NULL
) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 Py_INCREF(Py_None
); resultobj
= Py_None
;
30964 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxWindow
*arg1
= (wxWindow
*) 0 ;
30967 wxString
*arg2
= 0 ;
30968 bool temp2
= false ;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 char *kwnames
[] = {
30972 (char *) "self",(char *) "text", NULL
30975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30977 if (SWIG_arg_fail(1)) SWIG_fail
;
30979 arg2
= wxString_in_helper(obj1
);
30980 if (arg2
== NULL
) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 Py_INCREF(Py_None
); resultobj
= Py_None
;
31005 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
;
31007 wxWindow
*arg1
= (wxWindow
*) 0 ;
31009 PyObject
* obj0
= 0 ;
31010 char *kwnames
[] = {
31011 (char *) "self", NULL
31014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31016 if (SWIG_arg_fail(1)) SWIG_fail
;
31018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31019 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31021 wxPyEndAllowThreads(__tstate
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31037 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31038 PyObject
*resultobj
;
31039 wxWindow
*arg1
= (wxWindow
*) 0 ;
31040 wxString
*arg2
= 0 ;
31041 bool temp2
= false ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char *kwnames
[] = {
31045 (char *) "self",(char *) "tip", NULL
31048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31050 if (SWIG_arg_fail(1)) SWIG_fail
;
31052 arg2
= wxString_in_helper(obj1
);
31053 if (arg2
== NULL
) SWIG_fail
;
31057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31058 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31060 wxPyEndAllowThreads(__tstate
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 Py_INCREF(Py_None
); resultobj
= Py_None
;
31078 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
;
31080 wxWindow
*arg1
= (wxWindow
*) 0 ;
31081 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31082 PyObject
* obj0
= 0 ;
31083 PyObject
* obj1
= 0 ;
31084 char *kwnames
[] = {
31085 (char *) "self",(char *) "tip", NULL
31088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31090 if (SWIG_arg_fail(1)) SWIG_fail
;
31091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31092 if (SWIG_arg_fail(2)) SWIG_fail
;
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 (arg1
)->SetToolTip(arg2
);
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31100 Py_INCREF(Py_None
); resultobj
= Py_None
;
31107 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
;
31109 wxWindow
*arg1
= (wxWindow
*) 0 ;
31111 PyObject
* obj0
= 0 ;
31112 char *kwnames
[] = {
31113 (char *) "self", NULL
31116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31118 if (SWIG_arg_fail(1)) SWIG_fail
;
31120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31121 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31123 wxPyEndAllowThreads(__tstate
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31127 resultobj
= wxPyMake_wxObject(result
, 0);
31135 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxWindow
*arg1
= (wxWindow
*) 0 ;
31138 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31139 PyObject
* obj0
= 0 ;
31140 PyObject
* obj1
= 0 ;
31141 char *kwnames
[] = {
31142 (char *) "self",(char *) "dropTarget", NULL
31145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31147 if (SWIG_arg_fail(1)) SWIG_fail
;
31148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31149 if (SWIG_arg_fail(2)) SWIG_fail
;
31151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 (arg1
)->SetDropTarget(arg2
);
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 Py_INCREF(Py_None
); resultobj
= Py_None
;
31164 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
;
31166 wxWindow
*arg1
= (wxWindow
*) 0 ;
31167 wxPyDropTarget
*result
;
31168 PyObject
* obj0
= 0 ;
31169 char *kwnames
[] = {
31170 (char *) "self", NULL
31173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31175 if (SWIG_arg_fail(1)) SWIG_fail
;
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31190 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
;
31192 wxWindow
*arg1
= (wxWindow
*) 0 ;
31193 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31194 PyObject
* obj0
= 0 ;
31195 PyObject
* obj1
= 0 ;
31196 char *kwnames
[] = {
31197 (char *) "self",(char *) "constraints", NULL
31200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31202 if (SWIG_arg_fail(1)) SWIG_fail
;
31203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31204 if (SWIG_arg_fail(2)) SWIG_fail
;
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 (arg1
)->SetConstraints(arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31212 Py_INCREF(Py_None
); resultobj
= Py_None
;
31219 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
;
31221 wxWindow
*arg1
= (wxWindow
*) 0 ;
31222 wxLayoutConstraints
*result
;
31223 PyObject
* obj0
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31230 if (SWIG_arg_fail(1)) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31245 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
;
31247 wxWindow
*arg1
= (wxWindow
*) 0 ;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 char *kwnames
[] = {
31252 (char *) "self",(char *) "autoLayout", NULL
31255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31257 if (SWIG_arg_fail(1)) SWIG_fail
;
31259 arg2
= (bool)(SWIG_As_bool(obj1
));
31260 if (SWIG_arg_fail(2)) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 (arg1
)->SetAutoLayout(arg2
);
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 Py_INCREF(Py_None
); resultobj
= Py_None
;
31276 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
;
31278 wxWindow
*arg1
= (wxWindow
*) 0 ;
31280 PyObject
* obj0
= 0 ;
31281 char *kwnames
[] = {
31282 (char *) "self", NULL
31285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31287 if (SWIG_arg_fail(1)) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31304 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
;
31306 wxWindow
*arg1
= (wxWindow
*) 0 ;
31308 PyObject
* obj0
= 0 ;
31309 char *kwnames
[] = {
31310 (char *) "self", NULL
31313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31315 if (SWIG_arg_fail(1)) SWIG_fail
;
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 result
= (bool)(arg1
)->Layout();
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31332 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31333 PyObject
*resultobj
;
31334 wxWindow
*arg1
= (wxWindow
*) 0 ;
31335 wxSizer
*arg2
= (wxSizer
*) 0 ;
31336 bool arg3
= (bool) true ;
31337 PyObject
* obj0
= 0 ;
31338 PyObject
* obj1
= 0 ;
31339 PyObject
* obj2
= 0 ;
31340 char *kwnames
[] = {
31341 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31346 if (SWIG_arg_fail(1)) SWIG_fail
;
31347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31348 if (SWIG_arg_fail(2)) SWIG_fail
;
31351 arg3
= (bool)(SWIG_As_bool(obj2
));
31352 if (SWIG_arg_fail(3)) SWIG_fail
;
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 (arg1
)->SetSizer(arg2
,arg3
);
31359 wxPyEndAllowThreads(__tstate
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31362 Py_INCREF(Py_None
); resultobj
= Py_None
;
31369 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31370 PyObject
*resultobj
;
31371 wxWindow
*arg1
= (wxWindow
*) 0 ;
31372 wxSizer
*arg2
= (wxSizer
*) 0 ;
31373 bool arg3
= (bool) true ;
31374 PyObject
* obj0
= 0 ;
31375 PyObject
* obj1
= 0 ;
31376 PyObject
* obj2
= 0 ;
31377 char *kwnames
[] = {
31378 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31383 if (SWIG_arg_fail(1)) SWIG_fail
;
31384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31385 if (SWIG_arg_fail(2)) SWIG_fail
;
31388 arg3
= (bool)(SWIG_As_bool(obj2
));
31389 if (SWIG_arg_fail(3)) SWIG_fail
;
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 Py_INCREF(Py_None
); resultobj
= Py_None
;
31406 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
;
31408 wxWindow
*arg1
= (wxWindow
*) 0 ;
31410 PyObject
* obj0
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31417 if (SWIG_arg_fail(1)) SWIG_fail
;
31419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31420 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= wxPyMake_wxSizer(result
, 0);
31434 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
;
31436 wxWindow
*arg1
= (wxWindow
*) 0 ;
31437 wxSizer
*arg2
= (wxSizer
*) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self",(char *) "sizer", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31446 if (SWIG_arg_fail(1)) SWIG_fail
;
31447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31448 if (SWIG_arg_fail(2)) SWIG_fail
;
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 (arg1
)->SetContainingSizer(arg2
);
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31456 Py_INCREF(Py_None
); resultobj
= Py_None
;
31463 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
;
31465 wxWindow
*arg1
= (wxWindow
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 char *kwnames
[] = {
31469 (char *) "self", NULL
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31474 if (SWIG_arg_fail(1)) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= wxPyMake_wxSizer(result
, 0);
31491 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
;
31493 wxWindow
*arg1
= (wxWindow
*) 0 ;
31494 PyObject
* obj0
= 0 ;
31495 char *kwnames
[] = {
31496 (char *) "self", NULL
31499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31501 if (SWIG_arg_fail(1)) SWIG_fail
;
31503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31504 (arg1
)->InheritAttributes();
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 Py_INCREF(Py_None
); resultobj
= Py_None
;
31516 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
;
31518 wxWindow
*arg1
= (wxWindow
*) 0 ;
31520 PyObject
* obj0
= 0 ;
31521 char *kwnames
[] = {
31522 (char *) "self", NULL
31525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31527 if (SWIG_arg_fail(1)) SWIG_fail
;
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31544 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31547 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31549 return Py_BuildValue((char *)"");
31551 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31552 PyObject
*resultobj
;
31554 wxWindow
*arg2
= (wxWindow
*) NULL
;
31556 PyObject
* obj0
= 0 ;
31557 PyObject
* obj1
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "id",(char *) "parent", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31564 arg1
= (long)(SWIG_As_long(obj0
));
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31569 if (SWIG_arg_fail(2)) SWIG_fail
;
31572 if (!wxPyCheckForApp()) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= wxPyMake_wxObject(result
, 0);
31588 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
;
31590 wxString
*arg1
= 0 ;
31591 wxWindow
*arg2
= (wxWindow
*) NULL
;
31593 bool temp1
= false ;
31594 PyObject
* obj0
= 0 ;
31595 PyObject
* obj1
= 0 ;
31596 char *kwnames
[] = {
31597 (char *) "name",(char *) "parent", NULL
31600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31602 arg1
= wxString_in_helper(obj0
);
31603 if (arg1
== NULL
) SWIG_fail
;
31607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31608 if (SWIG_arg_fail(2)) SWIG_fail
;
31611 if (!wxPyCheckForApp()) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31619 resultobj
= wxPyMake_wxObject(result
, 0);
31635 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31636 PyObject
*resultobj
;
31637 wxString
*arg1
= 0 ;
31638 wxWindow
*arg2
= (wxWindow
*) NULL
;
31640 bool temp1
= false ;
31641 PyObject
* obj0
= 0 ;
31642 PyObject
* obj1
= 0 ;
31643 char *kwnames
[] = {
31644 (char *) "label",(char *) "parent", NULL
31647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31649 arg1
= wxString_in_helper(obj0
);
31650 if (arg1
== NULL
) SWIG_fail
;
31654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31655 if (SWIG_arg_fail(2)) SWIG_fail
;
31658 if (!wxPyCheckForApp()) SWIG_fail
;
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31666 resultobj
= wxPyMake_wxObject(result
, 0);
31682 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31683 PyObject
*resultobj
;
31684 wxWindow
*arg1
= (wxWindow
*) 0 ;
31685 unsigned long arg2
;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 char *kwnames
[] = {
31690 (char *) "parent",(char *) "_hWnd", NULL
31693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail
;
31697 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31698 if (SWIG_arg_fail(2)) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= wxPyMake_wxObject(result
, 0);
31716 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
;
31718 wxValidator
*result
;
31719 char *kwnames
[] = {
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 result
= (wxValidator
*)new wxValidator();
31728 wxPyEndAllowThreads(__tstate
);
31729 if (PyErr_Occurred()) SWIG_fail
;
31731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31738 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
;
31740 wxValidator
*arg1
= (wxValidator
*) 0 ;
31741 wxValidator
*result
;
31742 PyObject
* obj0
= 0 ;
31743 char *kwnames
[] = {
31744 (char *) "self", NULL
31747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31749 if (SWIG_arg_fail(1)) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (wxValidator
*)(arg1
)->Clone();
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= wxPyMake_wxObject(result
, 0);
31766 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31767 PyObject
*resultobj
;
31768 wxValidator
*arg1
= (wxValidator
*) 0 ;
31769 wxWindow
*arg2
= (wxWindow
*) 0 ;
31771 PyObject
* obj0
= 0 ;
31772 PyObject
* obj1
= 0 ;
31773 char *kwnames
[] = {
31774 (char *) "self",(char *) "parent", NULL
31777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31779 if (SWIG_arg_fail(1)) SWIG_fail
;
31780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31781 if (SWIG_arg_fail(2)) SWIG_fail
;
31783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31784 result
= (bool)(arg1
)->Validate(arg2
);
31786 wxPyEndAllowThreads(__tstate
);
31787 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31798 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31799 PyObject
*resultobj
;
31800 wxValidator
*arg1
= (wxValidator
*) 0 ;
31802 PyObject
* obj0
= 0 ;
31803 char *kwnames
[] = {
31804 (char *) "self", NULL
31807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31809 if (SWIG_arg_fail(1)) SWIG_fail
;
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (bool)(arg1
)->TransferToWindow();
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31826 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
;
31828 wxValidator
*arg1
= (wxValidator
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 char *kwnames
[] = {
31832 (char *) "self", NULL
31835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31837 if (SWIG_arg_fail(1)) SWIG_fail
;
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 result
= (bool)(arg1
)->TransferFromWindow();
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31854 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31855 PyObject
*resultobj
;
31856 wxValidator
*arg1
= (wxValidator
*) 0 ;
31858 PyObject
* obj0
= 0 ;
31859 char *kwnames
[] = {
31860 (char *) "self", NULL
31863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31865 if (SWIG_arg_fail(1)) SWIG_fail
;
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31868 result
= (wxWindow
*)(arg1
)->GetWindow();
31870 wxPyEndAllowThreads(__tstate
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= wxPyMake_wxObject(result
, 0);
31882 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31883 PyObject
*resultobj
;
31884 wxValidator
*arg1
= (wxValidator
*) 0 ;
31885 wxWindow
*arg2
= (wxWindow
*) 0 ;
31886 PyObject
* obj0
= 0 ;
31887 PyObject
* obj1
= 0 ;
31888 char *kwnames
[] = {
31889 (char *) "self",(char *) "window", NULL
31892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31894 if (SWIG_arg_fail(1)) SWIG_fail
;
31895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31896 if (SWIG_arg_fail(2)) SWIG_fail
;
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 (arg1
)->SetWindow(arg2
);
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31904 Py_INCREF(Py_None
); resultobj
= Py_None
;
31911 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31912 PyObject
*resultobj
;
31914 char *kwnames
[] = {
31918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31921 result
= (bool)wxValidator::IsSilent();
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31935 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
;
31937 int arg1
= (int) true ;
31938 PyObject
* obj0
= 0 ;
31939 char *kwnames
[] = {
31940 (char *) "doIt", NULL
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31946 arg1
= (int)(SWIG_As_int(obj0
));
31947 if (SWIG_arg_fail(1)) SWIG_fail
;
31951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31952 wxValidator::SetBellOnError(arg1
);
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 Py_INCREF(Py_None
); resultobj
= Py_None
;
31964 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31967 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31969 return Py_BuildValue((char *)"");
31971 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
;
31973 wxPyValidator
*result
;
31974 char *kwnames
[] = {
31978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 result
= (wxPyValidator
*)new wxPyValidator();
31983 wxPyEndAllowThreads(__tstate
);
31984 if (PyErr_Occurred()) SWIG_fail
;
31986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31993 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
;
31995 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31996 PyObject
*arg2
= (PyObject
*) 0 ;
31997 PyObject
*arg3
= (PyObject
*) 0 ;
31998 int arg4
= (int) true ;
31999 PyObject
* obj0
= 0 ;
32000 PyObject
* obj1
= 0 ;
32001 PyObject
* obj2
= 0 ;
32002 PyObject
* obj3
= 0 ;
32003 char *kwnames
[] = {
32004 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32009 if (SWIG_arg_fail(1)) SWIG_fail
;
32014 arg4
= (int)(SWIG_As_int(obj3
));
32015 if (SWIG_arg_fail(4)) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 Py_INCREF(Py_None
); resultobj
= Py_None
;
32032 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32035 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32037 return Py_BuildValue((char *)"");
32039 static int _wrap_DefaultValidator_set(PyObject
*) {
32040 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32045 static PyObject
*_wrap_DefaultValidator_get(void) {
32048 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32053 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32054 PyObject
*resultobj
;
32055 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32056 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32057 long arg2
= (long) 0 ;
32059 bool temp1
= false ;
32060 PyObject
* obj0
= 0 ;
32061 PyObject
* obj1
= 0 ;
32062 char *kwnames
[] = {
32063 (char *) "title",(char *) "style", NULL
32066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32069 arg1
= wxString_in_helper(obj0
);
32070 if (arg1
== NULL
) SWIG_fail
;
32076 arg2
= (long)(SWIG_As_long(obj1
));
32077 if (SWIG_arg_fail(2)) SWIG_fail
;
32081 if (!wxPyCheckForApp()) SWIG_fail
;
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32103 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
;
32105 wxMenu
*arg1
= (wxMenu
*) 0 ;
32107 wxString
*arg3
= 0 ;
32108 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32109 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32110 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32111 wxMenuItem
*result
;
32112 bool temp3
= false ;
32113 bool temp4
= false ;
32114 PyObject
* obj0
= 0 ;
32115 PyObject
* obj1
= 0 ;
32116 PyObject
* obj2
= 0 ;
32117 PyObject
* obj3
= 0 ;
32118 PyObject
* obj4
= 0 ;
32119 char *kwnames
[] = {
32120 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32125 if (SWIG_arg_fail(1)) SWIG_fail
;
32127 arg2
= (int)(SWIG_As_int(obj1
));
32128 if (SWIG_arg_fail(2)) SWIG_fail
;
32131 arg3
= wxString_in_helper(obj2
);
32132 if (arg3
== NULL
) SWIG_fail
;
32137 arg4
= wxString_in_helper(obj3
);
32138 if (arg4
== NULL
) SWIG_fail
;
32144 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32145 if (SWIG_arg_fail(5)) SWIG_fail
;
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= wxPyMake_wxObject(result
, 0);
32180 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32181 PyObject
*resultobj
;
32182 wxMenu
*arg1
= (wxMenu
*) 0 ;
32183 wxMenuItem
*result
;
32184 PyObject
* obj0
= 0 ;
32185 char *kwnames
[] = {
32186 (char *) "self", NULL
32189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32191 if (SWIG_arg_fail(1)) SWIG_fail
;
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= wxPyMake_wxObject(result
, 0);
32208 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32209 PyObject
*resultobj
;
32210 wxMenu
*arg1
= (wxMenu
*) 0 ;
32212 wxString
*arg3
= 0 ;
32213 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32214 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32215 wxMenuItem
*result
;
32216 bool temp3
= false ;
32217 bool temp4
= false ;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 PyObject
* obj2
= 0 ;
32221 PyObject
* obj3
= 0 ;
32222 char *kwnames
[] = {
32223 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32228 if (SWIG_arg_fail(1)) SWIG_fail
;
32230 arg2
= (int)(SWIG_As_int(obj1
));
32231 if (SWIG_arg_fail(2)) SWIG_fail
;
32234 arg3
= wxString_in_helper(obj2
);
32235 if (arg3
== NULL
) SWIG_fail
;
32240 arg4
= wxString_in_helper(obj3
);
32241 if (arg4
== NULL
) SWIG_fail
;
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= wxPyMake_wxObject(result
, 0);
32277 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32278 PyObject
*resultobj
;
32279 wxMenu
*arg1
= (wxMenu
*) 0 ;
32281 wxString
*arg3
= 0 ;
32282 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32283 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32284 wxMenuItem
*result
;
32285 bool temp3
= false ;
32286 bool temp4
= false ;
32287 PyObject
* obj0
= 0 ;
32288 PyObject
* obj1
= 0 ;
32289 PyObject
* obj2
= 0 ;
32290 PyObject
* obj3
= 0 ;
32291 char *kwnames
[] = {
32292 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32297 if (SWIG_arg_fail(1)) SWIG_fail
;
32299 arg2
= (int)(SWIG_As_int(obj1
));
32300 if (SWIG_arg_fail(2)) SWIG_fail
;
32303 arg3
= wxString_in_helper(obj2
);
32304 if (arg3
== NULL
) SWIG_fail
;
32309 arg4
= wxString_in_helper(obj3
);
32310 if (arg4
== NULL
) SWIG_fail
;
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= wxPyMake_wxObject(result
, 0);
32346 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
;
32348 wxMenu
*arg1
= (wxMenu
*) 0 ;
32350 wxString
*arg3
= 0 ;
32351 wxMenu
*arg4
= (wxMenu
*) 0 ;
32352 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32353 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32354 wxMenuItem
*result
;
32355 bool temp3
= false ;
32356 bool temp5
= false ;
32357 PyObject
* obj0
= 0 ;
32358 PyObject
* obj1
= 0 ;
32359 PyObject
* obj2
= 0 ;
32360 PyObject
* obj3
= 0 ;
32361 PyObject
* obj4
= 0 ;
32362 char *kwnames
[] = {
32363 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32368 if (SWIG_arg_fail(1)) SWIG_fail
;
32370 arg2
= (int)(SWIG_As_int(obj1
));
32371 if (SWIG_arg_fail(2)) SWIG_fail
;
32374 arg3
= wxString_in_helper(obj2
);
32375 if (arg3
== NULL
) SWIG_fail
;
32378 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32379 if (SWIG_arg_fail(4)) SWIG_fail
;
32382 arg5
= wxString_in_helper(obj4
);
32383 if (arg5
== NULL
) SWIG_fail
;
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32391 wxPyEndAllowThreads(__tstate
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32395 resultobj
= wxPyMake_wxObject(result
, 0);
32419 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
;
32421 wxMenu
*arg1
= (wxMenu
*) 0 ;
32422 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32423 wxMenuItem
*result
;
32424 PyObject
* obj0
= 0 ;
32425 PyObject
* obj1
= 0 ;
32426 char *kwnames
[] = {
32427 (char *) "self",(char *) "item", NULL
32430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32432 if (SWIG_arg_fail(1)) SWIG_fail
;
32433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32434 if (SWIG_arg_fail(2)) SWIG_fail
;
32436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32437 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32443 resultobj
= wxPyMake_wxObject(result
, 0);
32451 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
;
32453 wxMenu
*arg1
= (wxMenu
*) 0 ;
32454 PyObject
* obj0
= 0 ;
32455 char *kwnames
[] = {
32456 (char *) "self", NULL
32459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32461 if (SWIG_arg_fail(1)) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 Py_INCREF(Py_None
); resultobj
= Py_None
;
32476 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
;
32478 wxMenu
*arg1
= (wxMenu
*) 0 ;
32480 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32481 wxMenuItem
*result
;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 PyObject
* obj2
= 0 ;
32485 char *kwnames
[] = {
32486 (char *) "self",(char *) "pos",(char *) "item", NULL
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32491 if (SWIG_arg_fail(1)) SWIG_fail
;
32493 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32494 if (SWIG_arg_fail(2)) SWIG_fail
;
32496 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32497 if (SWIG_arg_fail(3)) SWIG_fail
;
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32506 resultobj
= wxPyMake_wxObject(result
, 0);
32514 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
;
32516 wxMenu
*arg1
= (wxMenu
*) 0 ;
32519 wxString
*arg4
= 0 ;
32520 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32521 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32522 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32523 wxMenuItem
*result
;
32524 bool temp4
= false ;
32525 bool temp5
= false ;
32526 PyObject
* obj0
= 0 ;
32527 PyObject
* obj1
= 0 ;
32528 PyObject
* obj2
= 0 ;
32529 PyObject
* obj3
= 0 ;
32530 PyObject
* obj4
= 0 ;
32531 PyObject
* obj5
= 0 ;
32532 char *kwnames
[] = {
32533 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32538 if (SWIG_arg_fail(1)) SWIG_fail
;
32540 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32541 if (SWIG_arg_fail(2)) SWIG_fail
;
32544 arg3
= (int)(SWIG_As_int(obj2
));
32545 if (SWIG_arg_fail(3)) SWIG_fail
;
32548 arg4
= wxString_in_helper(obj3
);
32549 if (arg4
== NULL
) SWIG_fail
;
32554 arg5
= wxString_in_helper(obj4
);
32555 if (arg5
== NULL
) SWIG_fail
;
32561 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32562 if (SWIG_arg_fail(6)) SWIG_fail
;
32566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32567 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32569 wxPyEndAllowThreads(__tstate
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32573 resultobj
= wxPyMake_wxObject(result
, 0);
32597 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
;
32599 wxMenu
*arg1
= (wxMenu
*) 0 ;
32601 wxMenuItem
*result
;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 char *kwnames
[] = {
32605 (char *) "self",(char *) "pos", NULL
32608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32610 if (SWIG_arg_fail(1)) SWIG_fail
;
32612 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32613 if (SWIG_arg_fail(2)) SWIG_fail
;
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= wxPyMake_wxObject(result
, 0);
32631 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32632 PyObject
*resultobj
;
32633 wxMenu
*arg1
= (wxMenu
*) 0 ;
32636 wxString
*arg4
= 0 ;
32637 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32638 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32639 wxMenuItem
*result
;
32640 bool temp4
= false ;
32641 bool temp5
= false ;
32642 PyObject
* obj0
= 0 ;
32643 PyObject
* obj1
= 0 ;
32644 PyObject
* obj2
= 0 ;
32645 PyObject
* obj3
= 0 ;
32646 PyObject
* obj4
= 0 ;
32647 char *kwnames
[] = {
32648 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32653 if (SWIG_arg_fail(1)) SWIG_fail
;
32655 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32656 if (SWIG_arg_fail(2)) SWIG_fail
;
32659 arg3
= (int)(SWIG_As_int(obj2
));
32660 if (SWIG_arg_fail(3)) SWIG_fail
;
32663 arg4
= wxString_in_helper(obj3
);
32664 if (arg4
== NULL
) SWIG_fail
;
32669 arg5
= wxString_in_helper(obj4
);
32670 if (arg5
== NULL
) SWIG_fail
;
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32678 wxPyEndAllowThreads(__tstate
);
32679 if (PyErr_Occurred()) SWIG_fail
;
32682 resultobj
= wxPyMake_wxObject(result
, 0);
32706 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32707 PyObject
*resultobj
;
32708 wxMenu
*arg1
= (wxMenu
*) 0 ;
32711 wxString
*arg4
= 0 ;
32712 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32713 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32714 wxMenuItem
*result
;
32715 bool temp4
= false ;
32716 bool temp5
= false ;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 PyObject
* obj2
= 0 ;
32720 PyObject
* obj3
= 0 ;
32721 PyObject
* obj4
= 0 ;
32722 char *kwnames
[] = {
32723 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32728 if (SWIG_arg_fail(1)) SWIG_fail
;
32730 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32731 if (SWIG_arg_fail(2)) SWIG_fail
;
32734 arg3
= (int)(SWIG_As_int(obj2
));
32735 if (SWIG_arg_fail(3)) SWIG_fail
;
32738 arg4
= wxString_in_helper(obj3
);
32739 if (arg4
== NULL
) SWIG_fail
;
32744 arg5
= wxString_in_helper(obj4
);
32745 if (arg5
== NULL
) SWIG_fail
;
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= wxPyMake_wxObject(result
, 0);
32781 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
;
32783 wxMenu
*arg1
= (wxMenu
*) 0 ;
32786 wxString
*arg4
= 0 ;
32787 wxMenu
*arg5
= (wxMenu
*) 0 ;
32788 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32789 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32790 wxMenuItem
*result
;
32791 bool temp4
= false ;
32792 bool temp6
= false ;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 PyObject
* obj2
= 0 ;
32796 PyObject
* obj3
= 0 ;
32797 PyObject
* obj4
= 0 ;
32798 PyObject
* obj5
= 0 ;
32799 char *kwnames
[] = {
32800 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32805 if (SWIG_arg_fail(1)) SWIG_fail
;
32807 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32808 if (SWIG_arg_fail(2)) SWIG_fail
;
32811 arg3
= (int)(SWIG_As_int(obj2
));
32812 if (SWIG_arg_fail(3)) SWIG_fail
;
32815 arg4
= wxString_in_helper(obj3
);
32816 if (arg4
== NULL
) SWIG_fail
;
32819 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32820 if (SWIG_arg_fail(5)) SWIG_fail
;
32823 arg6
= wxString_in_helper(obj5
);
32824 if (arg6
== NULL
) SWIG_fail
;
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32832 wxPyEndAllowThreads(__tstate
);
32833 if (PyErr_Occurred()) SWIG_fail
;
32836 resultobj
= wxPyMake_wxObject(result
, 0);
32860 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32861 PyObject
*resultobj
;
32862 wxMenu
*arg1
= (wxMenu
*) 0 ;
32863 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32864 wxMenuItem
*result
;
32865 PyObject
* obj0
= 0 ;
32866 PyObject
* obj1
= 0 ;
32867 char *kwnames
[] = {
32868 (char *) "self",(char *) "item", NULL
32871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32873 if (SWIG_arg_fail(1)) SWIG_fail
;
32874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32875 if (SWIG_arg_fail(2)) SWIG_fail
;
32877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32878 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32880 wxPyEndAllowThreads(__tstate
);
32881 if (PyErr_Occurred()) SWIG_fail
;
32884 resultobj
= wxPyMake_wxObject(result
, 0);
32892 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
;
32894 wxMenu
*arg1
= (wxMenu
*) 0 ;
32896 wxString
*arg3
= 0 ;
32897 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32898 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32899 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32900 wxMenuItem
*result
;
32901 bool temp3
= false ;
32902 bool temp4
= false ;
32903 PyObject
* obj0
= 0 ;
32904 PyObject
* obj1
= 0 ;
32905 PyObject
* obj2
= 0 ;
32906 PyObject
* obj3
= 0 ;
32907 PyObject
* obj4
= 0 ;
32908 char *kwnames
[] = {
32909 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32914 if (SWIG_arg_fail(1)) SWIG_fail
;
32916 arg2
= (int)(SWIG_As_int(obj1
));
32917 if (SWIG_arg_fail(2)) SWIG_fail
;
32920 arg3
= wxString_in_helper(obj2
);
32921 if (arg3
== NULL
) SWIG_fail
;
32926 arg4
= wxString_in_helper(obj3
);
32927 if (arg4
== NULL
) SWIG_fail
;
32933 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32934 if (SWIG_arg_fail(5)) SWIG_fail
;
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= wxPyMake_wxObject(result
, 0);
32969 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
;
32971 wxMenu
*arg1
= (wxMenu
*) 0 ;
32972 wxMenuItem
*result
;
32973 PyObject
* obj0
= 0 ;
32974 char *kwnames
[] = {
32975 (char *) "self", NULL
32978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32980 if (SWIG_arg_fail(1)) SWIG_fail
;
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32989 resultobj
= wxPyMake_wxObject(result
, 0);
32997 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
;
32999 wxMenu
*arg1
= (wxMenu
*) 0 ;
33001 wxString
*arg3
= 0 ;
33002 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33003 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33004 wxMenuItem
*result
;
33005 bool temp3
= false ;
33006 bool temp4
= false ;
33007 PyObject
* obj0
= 0 ;
33008 PyObject
* obj1
= 0 ;
33009 PyObject
* obj2
= 0 ;
33010 PyObject
* obj3
= 0 ;
33011 char *kwnames
[] = {
33012 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33017 if (SWIG_arg_fail(1)) SWIG_fail
;
33019 arg2
= (int)(SWIG_As_int(obj1
));
33020 if (SWIG_arg_fail(2)) SWIG_fail
;
33023 arg3
= wxString_in_helper(obj2
);
33024 if (arg3
== NULL
) SWIG_fail
;
33029 arg4
= wxString_in_helper(obj3
);
33030 if (arg4
== NULL
) SWIG_fail
;
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33042 resultobj
= wxPyMake_wxObject(result
, 0);
33066 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33067 PyObject
*resultobj
;
33068 wxMenu
*arg1
= (wxMenu
*) 0 ;
33070 wxString
*arg3
= 0 ;
33071 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33072 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33073 wxMenuItem
*result
;
33074 bool temp3
= false ;
33075 bool temp4
= false ;
33076 PyObject
* obj0
= 0 ;
33077 PyObject
* obj1
= 0 ;
33078 PyObject
* obj2
= 0 ;
33079 PyObject
* obj3
= 0 ;
33080 char *kwnames
[] = {
33081 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33086 if (SWIG_arg_fail(1)) SWIG_fail
;
33088 arg2
= (int)(SWIG_As_int(obj1
));
33089 if (SWIG_arg_fail(2)) SWIG_fail
;
33092 arg3
= wxString_in_helper(obj2
);
33093 if (arg3
== NULL
) SWIG_fail
;
33098 arg4
= wxString_in_helper(obj3
);
33099 if (arg4
== NULL
) SWIG_fail
;
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33107 wxPyEndAllowThreads(__tstate
);
33108 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= wxPyMake_wxObject(result
, 0);
33135 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
;
33137 wxMenu
*arg1
= (wxMenu
*) 0 ;
33139 wxString
*arg3
= 0 ;
33140 wxMenu
*arg4
= (wxMenu
*) 0 ;
33141 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33142 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33143 wxMenuItem
*result
;
33144 bool temp3
= false ;
33145 bool temp5
= false ;
33146 PyObject
* obj0
= 0 ;
33147 PyObject
* obj1
= 0 ;
33148 PyObject
* obj2
= 0 ;
33149 PyObject
* obj3
= 0 ;
33150 PyObject
* obj4
= 0 ;
33151 char *kwnames
[] = {
33152 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33157 if (SWIG_arg_fail(1)) SWIG_fail
;
33159 arg2
= (int)(SWIG_As_int(obj1
));
33160 if (SWIG_arg_fail(2)) SWIG_fail
;
33163 arg3
= wxString_in_helper(obj2
);
33164 if (arg3
== NULL
) SWIG_fail
;
33167 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33168 if (SWIG_arg_fail(4)) SWIG_fail
;
33171 arg5
= wxString_in_helper(obj4
);
33172 if (arg5
== NULL
) SWIG_fail
;
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33184 resultobj
= wxPyMake_wxObject(result
, 0);
33208 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
;
33210 wxMenu
*arg1
= (wxMenu
*) 0 ;
33212 wxMenuItem
*result
;
33213 PyObject
* obj0
= 0 ;
33214 PyObject
* obj1
= 0 ;
33215 char *kwnames
[] = {
33216 (char *) "self",(char *) "id", NULL
33219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33221 if (SWIG_arg_fail(1)) SWIG_fail
;
33223 arg2
= (int)(SWIG_As_int(obj1
));
33224 if (SWIG_arg_fail(2)) SWIG_fail
;
33227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33228 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= wxPyMake_wxObject(result
, 0);
33242 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33243 PyObject
*resultobj
;
33244 wxMenu
*arg1
= (wxMenu
*) 0 ;
33245 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33246 wxMenuItem
*result
;
33247 PyObject
* obj0
= 0 ;
33248 PyObject
* obj1
= 0 ;
33249 char *kwnames
[] = {
33250 (char *) "self",(char *) "item", NULL
33253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33255 if (SWIG_arg_fail(1)) SWIG_fail
;
33256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33257 if (SWIG_arg_fail(2)) SWIG_fail
;
33259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33260 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= wxPyMake_wxObject(result
, 0);
33274 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33275 PyObject
*resultobj
;
33276 wxMenu
*arg1
= (wxMenu
*) 0 ;
33279 PyObject
* obj0
= 0 ;
33280 PyObject
* obj1
= 0 ;
33281 char *kwnames
[] = {
33282 (char *) "self",(char *) "id", NULL
33285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33287 if (SWIG_arg_fail(1)) SWIG_fail
;
33289 arg2
= (int)(SWIG_As_int(obj1
));
33290 if (SWIG_arg_fail(2)) SWIG_fail
;
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 result
= (bool)(arg1
)->Delete(arg2
);
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33308 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33309 PyObject
*resultobj
;
33310 wxMenu
*arg1
= (wxMenu
*) 0 ;
33311 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33313 PyObject
* obj0
= 0 ;
33314 PyObject
* obj1
= 0 ;
33315 char *kwnames
[] = {
33316 (char *) "self",(char *) "item", NULL
33319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33321 if (SWIG_arg_fail(1)) SWIG_fail
;
33322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33323 if (SWIG_arg_fail(2)) SWIG_fail
;
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 result
= (bool)(arg1
)->Delete(arg2
);
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33340 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33341 PyObject
*resultobj
;
33342 wxMenu
*arg1
= (wxMenu
*) 0 ;
33343 PyObject
* obj0
= 0 ;
33344 char *kwnames
[] = {
33345 (char *) "self", NULL
33348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33350 if (SWIG_arg_fail(1)) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 wxMenu_Destroy(arg1
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 Py_INCREF(Py_None
); resultobj
= Py_None
;
33365 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33366 PyObject
*resultobj
;
33367 wxMenu
*arg1
= (wxMenu
*) 0 ;
33370 PyObject
* obj0
= 0 ;
33371 PyObject
* obj1
= 0 ;
33372 char *kwnames
[] = {
33373 (char *) "self",(char *) "id", NULL
33376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33378 if (SWIG_arg_fail(1)) SWIG_fail
;
33380 arg2
= (int)(SWIG_As_int(obj1
));
33381 if (SWIG_arg_fail(2)) SWIG_fail
;
33384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33385 result
= (bool)(arg1
)->Destroy(arg2
);
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33399 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33400 PyObject
*resultobj
;
33401 wxMenu
*arg1
= (wxMenu
*) 0 ;
33402 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33404 PyObject
* obj0
= 0 ;
33405 PyObject
* obj1
= 0 ;
33406 char *kwnames
[] = {
33407 (char *) "self",(char *) "item", NULL
33410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33412 if (SWIG_arg_fail(1)) SWIG_fail
;
33413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33414 if (SWIG_arg_fail(2)) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 result
= (bool)(arg1
)->Destroy(arg2
);
33419 wxPyEndAllowThreads(__tstate
);
33420 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33431 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33432 PyObject
*resultobj
;
33433 wxMenu
*arg1
= (wxMenu
*) 0 ;
33435 PyObject
* obj0
= 0 ;
33436 char *kwnames
[] = {
33437 (char *) "self", NULL
33440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33442 if (SWIG_arg_fail(1)) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33459 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33460 PyObject
*resultobj
;
33461 wxMenu
*arg1
= (wxMenu
*) 0 ;
33463 PyObject
* obj0
= 0 ;
33464 char *kwnames
[] = {
33465 (char *) "self", NULL
33468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33470 if (SWIG_arg_fail(1)) SWIG_fail
;
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33473 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33475 wxPyEndAllowThreads(__tstate
);
33476 if (PyErr_Occurred()) SWIG_fail
;
33478 resultobj
= result
;
33485 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33486 PyObject
*resultobj
;
33487 wxMenu
*arg1
= (wxMenu
*) 0 ;
33488 wxString
*arg2
= 0 ;
33490 bool temp2
= false ;
33491 PyObject
* obj0
= 0 ;
33492 PyObject
* obj1
= 0 ;
33493 char *kwnames
[] = {
33494 (char *) "self",(char *) "item", NULL
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33499 if (SWIG_arg_fail(1)) SWIG_fail
;
33501 arg2
= wxString_in_helper(obj1
);
33502 if (arg2
== NULL
) SWIG_fail
;
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33507 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33509 wxPyEndAllowThreads(__tstate
);
33510 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= SWIG_From_int((int)(result
));
33529 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33530 PyObject
*resultobj
;
33531 wxMenu
*arg1
= (wxMenu
*) 0 ;
33533 wxMenuItem
*result
;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 char *kwnames
[] = {
33537 (char *) "self",(char *) "id", NULL
33540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33542 if (SWIG_arg_fail(1)) SWIG_fail
;
33544 arg2
= (int)(SWIG_As_int(obj1
));
33545 if (SWIG_arg_fail(2)) SWIG_fail
;
33548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33549 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33551 wxPyEndAllowThreads(__tstate
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= wxPyMake_wxObject(result
, 0);
33563 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxMenu
*arg1
= (wxMenu
*) 0 ;
33567 wxMenuItem
*result
;
33568 PyObject
* obj0
= 0 ;
33569 PyObject
* obj1
= 0 ;
33570 char *kwnames
[] = {
33571 (char *) "self",(char *) "position", NULL
33574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33576 if (SWIG_arg_fail(1)) SWIG_fail
;
33578 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33579 if (SWIG_arg_fail(2)) SWIG_fail
;
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33585 wxPyEndAllowThreads(__tstate
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33589 resultobj
= wxPyMake_wxObject(result
, 0);
33597 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33598 PyObject
*resultobj
;
33599 wxMenu
*arg1
= (wxMenu
*) 0 ;
33602 PyObject
* obj0
= 0 ;
33603 PyObject
* obj1
= 0 ;
33604 PyObject
* obj2
= 0 ;
33605 char *kwnames
[] = {
33606 (char *) "self",(char *) "id",(char *) "enable", NULL
33609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33611 if (SWIG_arg_fail(1)) SWIG_fail
;
33613 arg2
= (int)(SWIG_As_int(obj1
));
33614 if (SWIG_arg_fail(2)) SWIG_fail
;
33617 arg3
= (bool)(SWIG_As_bool(obj2
));
33618 if (SWIG_arg_fail(3)) SWIG_fail
;
33621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33622 (arg1
)->Enable(arg2
,arg3
);
33624 wxPyEndAllowThreads(__tstate
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33627 Py_INCREF(Py_None
); resultobj
= Py_None
;
33634 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
;
33636 wxMenu
*arg1
= (wxMenu
*) 0 ;
33639 PyObject
* obj0
= 0 ;
33640 PyObject
* obj1
= 0 ;
33641 char *kwnames
[] = {
33642 (char *) "self",(char *) "id", NULL
33645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail
;
33649 arg2
= (int)(SWIG_As_int(obj1
));
33650 if (SWIG_arg_fail(2)) SWIG_fail
;
33653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33654 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33656 wxPyEndAllowThreads(__tstate
);
33657 if (PyErr_Occurred()) SWIG_fail
;
33660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33668 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33669 PyObject
*resultobj
;
33670 wxMenu
*arg1
= (wxMenu
*) 0 ;
33673 PyObject
* obj0
= 0 ;
33674 PyObject
* obj1
= 0 ;
33675 PyObject
* obj2
= 0 ;
33676 char *kwnames
[] = {
33677 (char *) "self",(char *) "id",(char *) "check", NULL
33680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33682 if (SWIG_arg_fail(1)) SWIG_fail
;
33684 arg2
= (int)(SWIG_As_int(obj1
));
33685 if (SWIG_arg_fail(2)) SWIG_fail
;
33688 arg3
= (bool)(SWIG_As_bool(obj2
));
33689 if (SWIG_arg_fail(3)) SWIG_fail
;
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 (arg1
)->Check(arg2
,arg3
);
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33698 Py_INCREF(Py_None
); resultobj
= Py_None
;
33705 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
;
33707 wxMenu
*arg1
= (wxMenu
*) 0 ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char *kwnames
[] = {
33713 (char *) "self",(char *) "id", NULL
33716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33718 if (SWIG_arg_fail(1)) SWIG_fail
;
33720 arg2
= (int)(SWIG_As_int(obj1
));
33721 if (SWIG_arg_fail(2)) SWIG_fail
;
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33739 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33740 PyObject
*resultobj
;
33741 wxMenu
*arg1
= (wxMenu
*) 0 ;
33743 wxString
*arg3
= 0 ;
33744 bool temp3
= false ;
33745 PyObject
* obj0
= 0 ;
33746 PyObject
* obj1
= 0 ;
33747 PyObject
* obj2
= 0 ;
33748 char *kwnames
[] = {
33749 (char *) "self",(char *) "id",(char *) "label", NULL
33752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33754 if (SWIG_arg_fail(1)) SWIG_fail
;
33756 arg2
= (int)(SWIG_As_int(obj1
));
33757 if (SWIG_arg_fail(2)) SWIG_fail
;
33760 arg3
= wxString_in_helper(obj2
);
33761 if (arg3
== NULL
) SWIG_fail
;
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33768 wxPyEndAllowThreads(__tstate
);
33769 if (PyErr_Occurred()) SWIG_fail
;
33771 Py_INCREF(Py_None
); resultobj
= Py_None
;
33786 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33787 PyObject
*resultobj
;
33788 wxMenu
*arg1
= (wxMenu
*) 0 ;
33791 PyObject
* obj0
= 0 ;
33792 PyObject
* obj1
= 0 ;
33793 char *kwnames
[] = {
33794 (char *) "self",(char *) "id", NULL
33797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33799 if (SWIG_arg_fail(1)) SWIG_fail
;
33801 arg2
= (int)(SWIG_As_int(obj1
));
33802 if (SWIG_arg_fail(2)) SWIG_fail
;
33805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33806 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33808 wxPyEndAllowThreads(__tstate
);
33809 if (PyErr_Occurred()) SWIG_fail
;
33813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33824 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33825 PyObject
*resultobj
;
33826 wxMenu
*arg1
= (wxMenu
*) 0 ;
33828 wxString
*arg3
= 0 ;
33829 bool temp3
= false ;
33830 PyObject
* obj0
= 0 ;
33831 PyObject
* obj1
= 0 ;
33832 PyObject
* obj2
= 0 ;
33833 char *kwnames
[] = {
33834 (char *) "self",(char *) "id",(char *) "helpString", NULL
33837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33839 if (SWIG_arg_fail(1)) SWIG_fail
;
33841 arg2
= (int)(SWIG_As_int(obj1
));
33842 if (SWIG_arg_fail(2)) SWIG_fail
;
33845 arg3
= wxString_in_helper(obj2
);
33846 if (arg3
== NULL
) SWIG_fail
;
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33853 wxPyEndAllowThreads(__tstate
);
33854 if (PyErr_Occurred()) SWIG_fail
;
33856 Py_INCREF(Py_None
); resultobj
= Py_None
;
33871 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33872 PyObject
*resultobj
;
33873 wxMenu
*arg1
= (wxMenu
*) 0 ;
33876 PyObject
* obj0
= 0 ;
33877 PyObject
* obj1
= 0 ;
33878 char *kwnames
[] = {
33879 (char *) "self",(char *) "id", NULL
33882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33884 if (SWIG_arg_fail(1)) SWIG_fail
;
33886 arg2
= (int)(SWIG_As_int(obj1
));
33887 if (SWIG_arg_fail(2)) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33909 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
;
33911 wxMenu
*arg1
= (wxMenu
*) 0 ;
33912 wxString
*arg2
= 0 ;
33913 bool temp2
= false ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 char *kwnames
[] = {
33917 (char *) "self",(char *) "title", NULL
33920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33922 if (SWIG_arg_fail(1)) SWIG_fail
;
33924 arg2
= wxString_in_helper(obj1
);
33925 if (arg2
== NULL
) SWIG_fail
;
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 (arg1
)->SetTitle((wxString
const &)*arg2
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 Py_INCREF(Py_None
); resultobj
= Py_None
;
33950 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33951 PyObject
*resultobj
;
33952 wxMenu
*arg1
= (wxMenu
*) 0 ;
33954 PyObject
* obj0
= 0 ;
33955 char *kwnames
[] = {
33956 (char *) "self", NULL
33959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(1)) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 result
= ((wxMenu
const *)arg1
)->GetTitle();
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33982 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33983 PyObject
*resultobj
;
33984 wxMenu
*arg1
= (wxMenu
*) 0 ;
33985 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33986 PyObject
* obj0
= 0 ;
33987 PyObject
* obj1
= 0 ;
33988 char *kwnames
[] = {
33989 (char *) "self",(char *) "handler", NULL
33992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33994 if (SWIG_arg_fail(1)) SWIG_fail
;
33995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33996 if (SWIG_arg_fail(2)) SWIG_fail
;
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 (arg1
)->SetEventHandler(arg2
);
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34004 Py_INCREF(Py_None
); resultobj
= Py_None
;
34011 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34012 PyObject
*resultobj
;
34013 wxMenu
*arg1
= (wxMenu
*) 0 ;
34014 wxEvtHandler
*result
;
34015 PyObject
* obj0
= 0 ;
34016 char *kwnames
[] = {
34017 (char *) "self", NULL
34020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34022 if (SWIG_arg_fail(1)) SWIG_fail
;
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34031 resultobj
= wxPyMake_wxObject(result
, 0);
34039 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
;
34041 wxMenu
*arg1
= (wxMenu
*) 0 ;
34042 wxWindow
*arg2
= (wxWindow
*) 0 ;
34043 PyObject
* obj0
= 0 ;
34044 PyObject
* obj1
= 0 ;
34045 char *kwnames
[] = {
34046 (char *) "self",(char *) "win", NULL
34049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34051 if (SWIG_arg_fail(1)) SWIG_fail
;
34052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34053 if (SWIG_arg_fail(2)) SWIG_fail
;
34055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34056 (arg1
)->SetInvokingWindow(arg2
);
34058 wxPyEndAllowThreads(__tstate
);
34059 if (PyErr_Occurred()) SWIG_fail
;
34061 Py_INCREF(Py_None
); resultobj
= Py_None
;
34068 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34069 PyObject
*resultobj
;
34070 wxMenu
*arg1
= (wxMenu
*) 0 ;
34072 PyObject
* obj0
= 0 ;
34073 char *kwnames
[] = {
34074 (char *) "self", NULL
34077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34079 if (SWIG_arg_fail(1)) SWIG_fail
;
34081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34088 resultobj
= wxPyMake_wxObject(result
, 0);
34096 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
;
34098 wxMenu
*arg1
= (wxMenu
*) 0 ;
34100 PyObject
* obj0
= 0 ;
34101 char *kwnames
[] = {
34102 (char *) "self", NULL
34105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail
;
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34116 resultobj
= SWIG_From_long((long)(result
));
34124 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
;
34126 wxMenu
*arg1
= (wxMenu
*) 0 ;
34127 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34128 PyObject
* obj0
= 0 ;
34129 PyObject
* obj1
= 0 ;
34130 char *kwnames
[] = {
34131 (char *) "self",(char *) "source", NULL
34134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34136 if (SWIG_arg_fail(1)) SWIG_fail
;
34138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34139 if (SWIG_arg_fail(2)) SWIG_fail
;
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 (arg1
)->UpdateUI(arg2
);
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34148 Py_INCREF(Py_None
); resultobj
= Py_None
;
34155 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
;
34157 wxMenu
*arg1
= (wxMenu
*) 0 ;
34159 PyObject
* obj0
= 0 ;
34160 char *kwnames
[] = {
34161 (char *) "self", NULL
34164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34166 if (SWIG_arg_fail(1)) SWIG_fail
;
34168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34169 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34175 resultobj
= wxPyMake_wxObject(result
, 0);
34183 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34184 PyObject
*resultobj
;
34185 wxMenu
*arg1
= (wxMenu
*) 0 ;
34186 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34187 PyObject
* obj0
= 0 ;
34188 PyObject
* obj1
= 0 ;
34189 char *kwnames
[] = {
34190 (char *) "self",(char *) "menubar", NULL
34193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34195 if (SWIG_arg_fail(1)) SWIG_fail
;
34196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34197 if (SWIG_arg_fail(2)) SWIG_fail
;
34199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34200 (arg1
)->Attach(arg2
);
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 Py_INCREF(Py_None
); resultobj
= Py_None
;
34212 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34213 PyObject
*resultobj
;
34214 wxMenu
*arg1
= (wxMenu
*) 0 ;
34215 PyObject
* obj0
= 0 ;
34216 char *kwnames
[] = {
34217 (char *) "self", NULL
34220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34222 if (SWIG_arg_fail(1)) SWIG_fail
;
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34227 wxPyEndAllowThreads(__tstate
);
34228 if (PyErr_Occurred()) SWIG_fail
;
34230 Py_INCREF(Py_None
); resultobj
= Py_None
;
34237 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34238 PyObject
*resultobj
;
34239 wxMenu
*arg1
= (wxMenu
*) 0 ;
34241 PyObject
* obj0
= 0 ;
34242 char *kwnames
[] = {
34243 (char *) "self", NULL
34246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34248 if (SWIG_arg_fail(1)) SWIG_fail
;
34250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34251 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34253 wxPyEndAllowThreads(__tstate
);
34254 if (PyErr_Occurred()) SWIG_fail
;
34257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34265 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34266 PyObject
*resultobj
;
34267 wxMenu
*arg1
= (wxMenu
*) 0 ;
34268 wxMenu
*arg2
= (wxMenu
*) 0 ;
34269 PyObject
* obj0
= 0 ;
34270 PyObject
* obj1
= 0 ;
34271 char *kwnames
[] = {
34272 (char *) "self",(char *) "parent", NULL
34275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34277 if (SWIG_arg_fail(1)) SWIG_fail
;
34278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34279 if (SWIG_arg_fail(2)) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 (arg1
)->SetParent(arg2
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 Py_INCREF(Py_None
); resultobj
= Py_None
;
34294 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxMenu
*arg1
= (wxMenu
*) 0 ;
34298 PyObject
* obj0
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "self", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34305 if (SWIG_arg_fail(1)) SWIG_fail
;
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34314 resultobj
= wxPyMake_wxObject(result
, 0);
34322 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34325 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34327 return Py_BuildValue((char *)"");
34329 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
;
34331 long arg1
= (long) 0 ;
34333 PyObject
* obj0
= 0 ;
34334 char *kwnames
[] = {
34335 (char *) "style", NULL
34338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34341 arg1
= (long)(SWIG_As_long(obj0
));
34342 if (SWIG_arg_fail(1)) SWIG_fail
;
34346 if (!wxPyCheckForApp()) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34360 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34361 PyObject
*resultobj
;
34362 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34363 wxMenu
*arg2
= (wxMenu
*) 0 ;
34364 wxString
*arg3
= 0 ;
34366 bool temp3
= false ;
34367 PyObject
* obj0
= 0 ;
34368 PyObject
* obj1
= 0 ;
34369 PyObject
* obj2
= 0 ;
34370 char *kwnames
[] = {
34371 (char *) "self",(char *) "menu",(char *) "title", NULL
34374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34376 if (SWIG_arg_fail(1)) SWIG_fail
;
34377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34378 if (SWIG_arg_fail(2)) SWIG_fail
;
34380 arg3
= wxString_in_helper(obj2
);
34381 if (arg3
== NULL
) SWIG_fail
;
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34388 wxPyEndAllowThreads(__tstate
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34408 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34409 PyObject
*resultobj
;
34410 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34412 wxMenu
*arg3
= (wxMenu
*) 0 ;
34413 wxString
*arg4
= 0 ;
34415 bool temp4
= false ;
34416 PyObject
* obj0
= 0 ;
34417 PyObject
* obj1
= 0 ;
34418 PyObject
* obj2
= 0 ;
34419 PyObject
* obj3
= 0 ;
34420 char *kwnames
[] = {
34421 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34426 if (SWIG_arg_fail(1)) SWIG_fail
;
34428 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34429 if (SWIG_arg_fail(2)) SWIG_fail
;
34431 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34432 if (SWIG_arg_fail(3)) SWIG_fail
;
34434 arg4
= wxString_in_helper(obj3
);
34435 if (arg4
== NULL
) SWIG_fail
;
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34442 wxPyEndAllowThreads(__tstate
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34462 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34463 PyObject
*resultobj
;
34464 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34466 PyObject
* obj0
= 0 ;
34467 char *kwnames
[] = {
34468 (char *) "self", NULL
34471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34473 if (SWIG_arg_fail(1)) SWIG_fail
;
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34478 wxPyEndAllowThreads(__tstate
);
34479 if (PyErr_Occurred()) SWIG_fail
;
34482 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34490 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34491 PyObject
*resultobj
;
34492 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34495 PyObject
* obj0
= 0 ;
34496 PyObject
* obj1
= 0 ;
34497 char *kwnames
[] = {
34498 (char *) "self",(char *) "pos", NULL
34501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34503 if (SWIG_arg_fail(1)) SWIG_fail
;
34505 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34506 if (SWIG_arg_fail(2)) SWIG_fail
;
34509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34510 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34512 wxPyEndAllowThreads(__tstate
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34516 resultobj
= wxPyMake_wxObject(result
, 0);
34524 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34525 PyObject
*resultobj
;
34526 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34528 wxMenu
*arg3
= (wxMenu
*) 0 ;
34529 wxString
*arg4
= 0 ;
34531 bool temp4
= false ;
34532 PyObject
* obj0
= 0 ;
34533 PyObject
* obj1
= 0 ;
34534 PyObject
* obj2
= 0 ;
34535 PyObject
* obj3
= 0 ;
34536 char *kwnames
[] = {
34537 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34542 if (SWIG_arg_fail(1)) SWIG_fail
;
34544 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34545 if (SWIG_arg_fail(2)) SWIG_fail
;
34547 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34548 if (SWIG_arg_fail(3)) SWIG_fail
;
34550 arg4
= wxString_in_helper(obj3
);
34551 if (arg4
== NULL
) SWIG_fail
;
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34562 resultobj
= wxPyMake_wxObject(result
, 0);
34578 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
;
34580 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34583 PyObject
* obj0
= 0 ;
34584 PyObject
* obj1
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self",(char *) "pos", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34591 if (SWIG_arg_fail(1)) SWIG_fail
;
34593 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34594 if (SWIG_arg_fail(2)) SWIG_fail
;
34597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34598 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= wxPyMake_wxObject(result
, 0);
34612 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34613 PyObject
*resultobj
;
34614 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34617 PyObject
* obj0
= 0 ;
34618 PyObject
* obj1
= 0 ;
34619 PyObject
* obj2
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self",(char *) "pos",(char *) "enable", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(1)) SWIG_fail
;
34628 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34629 if (SWIG_arg_fail(2)) SWIG_fail
;
34632 arg3
= (bool)(SWIG_As_bool(obj2
));
34633 if (SWIG_arg_fail(3)) SWIG_fail
;
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 (arg1
)->EnableTop(arg2
,arg3
);
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 Py_INCREF(Py_None
); resultobj
= Py_None
;
34649 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
;
34651 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34654 PyObject
* obj0
= 0 ;
34655 PyObject
* obj1
= 0 ;
34656 char *kwnames
[] = {
34657 (char *) "self",(char *) "pos", NULL
34660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34662 if (SWIG_arg_fail(1)) SWIG_fail
;
34664 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34665 if (SWIG_arg_fail(2)) SWIG_fail
;
34668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34669 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34683 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34684 PyObject
*resultobj
;
34685 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34687 wxString
*arg3
= 0 ;
34688 bool temp3
= false ;
34689 PyObject
* obj0
= 0 ;
34690 PyObject
* obj1
= 0 ;
34691 PyObject
* obj2
= 0 ;
34692 char *kwnames
[] = {
34693 (char *) "self",(char *) "pos",(char *) "label", NULL
34696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34698 if (SWIG_arg_fail(1)) SWIG_fail
;
34700 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34701 if (SWIG_arg_fail(2)) SWIG_fail
;
34704 arg3
= wxString_in_helper(obj2
);
34705 if (arg3
== NULL
) SWIG_fail
;
34709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34710 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34712 wxPyEndAllowThreads(__tstate
);
34713 if (PyErr_Occurred()) SWIG_fail
;
34715 Py_INCREF(Py_None
); resultobj
= Py_None
;
34730 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
;
34732 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34735 PyObject
* obj0
= 0 ;
34736 PyObject
* obj1
= 0 ;
34737 char *kwnames
[] = {
34738 (char *) "self",(char *) "pos", NULL
34741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34743 if (SWIG_arg_fail(1)) SWIG_fail
;
34745 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34746 if (SWIG_arg_fail(2)) SWIG_fail
;
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34768 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
;
34770 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34771 wxString
*arg2
= 0 ;
34772 wxString
*arg3
= 0 ;
34774 bool temp2
= false ;
34775 bool temp3
= false ;
34776 PyObject
* obj0
= 0 ;
34777 PyObject
* obj1
= 0 ;
34778 PyObject
* obj2
= 0 ;
34779 char *kwnames
[] = {
34780 (char *) "self",(char *) "menu",(char *) "item", NULL
34783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34785 if (SWIG_arg_fail(1)) SWIG_fail
;
34787 arg2
= wxString_in_helper(obj1
);
34788 if (arg2
== NULL
) SWIG_fail
;
34792 arg3
= wxString_in_helper(obj2
);
34793 if (arg3
== NULL
) SWIG_fail
;
34797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34798 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34804 resultobj
= SWIG_From_int((int)(result
));
34828 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34832 wxMenuItem
*result
;
34833 PyObject
* obj0
= 0 ;
34834 PyObject
* obj1
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "id", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34843 arg2
= (int)(SWIG_As_int(obj1
));
34844 if (SWIG_arg_fail(2)) SWIG_fail
;
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34854 resultobj
= wxPyMake_wxObject(result
, 0);
34862 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34863 PyObject
*resultobj
;
34864 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34865 wxString
*arg2
= 0 ;
34867 bool temp2
= false ;
34868 PyObject
* obj0
= 0 ;
34869 PyObject
* obj1
= 0 ;
34870 char *kwnames
[] = {
34871 (char *) "self",(char *) "title", NULL
34874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34876 if (SWIG_arg_fail(1)) SWIG_fail
;
34878 arg2
= wxString_in_helper(obj1
);
34879 if (arg2
== NULL
) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34890 resultobj
= SWIG_From_int((int)(result
));
34906 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34907 PyObject
*resultobj
;
34908 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 PyObject
* obj2
= 0 ;
34914 char *kwnames
[] = {
34915 (char *) "self",(char *) "id",(char *) "enable", NULL
34918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34920 if (SWIG_arg_fail(1)) SWIG_fail
;
34922 arg2
= (int)(SWIG_As_int(obj1
));
34923 if (SWIG_arg_fail(2)) SWIG_fail
;
34926 arg3
= (bool)(SWIG_As_bool(obj2
));
34927 if (SWIG_arg_fail(3)) SWIG_fail
;
34930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34931 (arg1
)->Enable(arg2
,arg3
);
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34936 Py_INCREF(Py_None
); resultobj
= Py_None
;
34943 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34944 PyObject
*resultobj
;
34945 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34948 PyObject
* obj0
= 0 ;
34949 PyObject
* obj1
= 0 ;
34950 PyObject
* obj2
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self",(char *) "id",(char *) "check", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34957 if (SWIG_arg_fail(1)) SWIG_fail
;
34959 arg2
= (int)(SWIG_As_int(obj1
));
34960 if (SWIG_arg_fail(2)) SWIG_fail
;
34963 arg3
= (bool)(SWIG_As_bool(obj2
));
34964 if (SWIG_arg_fail(3)) SWIG_fail
;
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 (arg1
)->Check(arg2
,arg3
);
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 Py_INCREF(Py_None
); resultobj
= Py_None
;
34980 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34981 PyObject
*resultobj
;
34982 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 char *kwnames
[] = {
34988 (char *) "self",(char *) "id", NULL
34991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34993 if (SWIG_arg_fail(1)) SWIG_fail
;
34995 arg2
= (int)(SWIG_As_int(obj1
));
34996 if (SWIG_arg_fail(2)) SWIG_fail
;
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35014 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35015 PyObject
*resultobj
;
35016 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35019 PyObject
* obj0
= 0 ;
35020 PyObject
* obj1
= 0 ;
35021 char *kwnames
[] = {
35022 (char *) "self",(char *) "id", NULL
35025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35027 if (SWIG_arg_fail(1)) SWIG_fail
;
35029 arg2
= (int)(SWIG_As_int(obj1
));
35030 if (SWIG_arg_fail(2)) SWIG_fail
;
35033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35034 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35048 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35049 PyObject
*resultobj
;
35050 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35052 wxString
*arg3
= 0 ;
35053 bool temp3
= false ;
35054 PyObject
* obj0
= 0 ;
35055 PyObject
* obj1
= 0 ;
35056 PyObject
* obj2
= 0 ;
35057 char *kwnames
[] = {
35058 (char *) "self",(char *) "id",(char *) "label", NULL
35061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35063 if (SWIG_arg_fail(1)) SWIG_fail
;
35065 arg2
= (int)(SWIG_As_int(obj1
));
35066 if (SWIG_arg_fail(2)) SWIG_fail
;
35069 arg3
= wxString_in_helper(obj2
);
35070 if (arg3
== NULL
) SWIG_fail
;
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 Py_INCREF(Py_None
); resultobj
= Py_None
;
35095 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
;
35097 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35100 PyObject
* obj0
= 0 ;
35101 PyObject
* obj1
= 0 ;
35102 char *kwnames
[] = {
35103 (char *) "self",(char *) "id", NULL
35106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35108 if (SWIG_arg_fail(1)) SWIG_fail
;
35110 arg2
= (int)(SWIG_As_int(obj1
));
35111 if (SWIG_arg_fail(2)) SWIG_fail
;
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35133 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35134 PyObject
*resultobj
;
35135 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35137 wxString
*arg3
= 0 ;
35138 bool temp3
= false ;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 PyObject
* obj2
= 0 ;
35142 char *kwnames
[] = {
35143 (char *) "self",(char *) "id",(char *) "helpString", NULL
35146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35148 if (SWIG_arg_fail(1)) SWIG_fail
;
35150 arg2
= (int)(SWIG_As_int(obj1
));
35151 if (SWIG_arg_fail(2)) SWIG_fail
;
35154 arg3
= wxString_in_helper(obj2
);
35155 if (arg3
== NULL
) SWIG_fail
;
35159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35162 wxPyEndAllowThreads(__tstate
);
35163 if (PyErr_Occurred()) SWIG_fail
;
35165 Py_INCREF(Py_None
); resultobj
= Py_None
;
35180 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
;
35182 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 char *kwnames
[] = {
35188 (char *) "self",(char *) "id", NULL
35191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35193 if (SWIG_arg_fail(1)) SWIG_fail
;
35195 arg2
= (int)(SWIG_As_int(obj1
));
35196 if (SWIG_arg_fail(2)) SWIG_fail
;
35199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35200 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35202 wxPyEndAllowThreads(__tstate
);
35203 if (PyErr_Occurred()) SWIG_fail
;
35207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35218 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35222 PyObject
* obj0
= 0 ;
35223 char *kwnames
[] = {
35224 (char *) "self", NULL
35227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35229 if (SWIG_arg_fail(1)) SWIG_fail
;
35231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35234 wxPyEndAllowThreads(__tstate
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= wxPyMake_wxObject(result
, 0);
35246 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35247 PyObject
*resultobj
;
35248 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35250 PyObject
* obj0
= 0 ;
35251 char *kwnames
[] = {
35252 (char *) "self", NULL
35255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35257 if (SWIG_arg_fail(1)) SWIG_fail
;
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35262 wxPyEndAllowThreads(__tstate
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35274 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
;
35276 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35277 wxFrame
*arg2
= (wxFrame
*) 0 ;
35278 PyObject
* obj0
= 0 ;
35279 PyObject
* obj1
= 0 ;
35280 char *kwnames
[] = {
35281 (char *) "self",(char *) "frame", NULL
35284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35286 if (SWIG_arg_fail(1)) SWIG_fail
;
35287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35288 if (SWIG_arg_fail(2)) SWIG_fail
;
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 (arg1
)->Attach(arg2
);
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 Py_INCREF(Py_None
); resultobj
= Py_None
;
35303 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
;
35305 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35306 PyObject
* obj0
= 0 ;
35307 char *kwnames
[] = {
35308 (char *) "self", NULL
35311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35313 if (SWIG_arg_fail(1)) SWIG_fail
;
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 Py_INCREF(Py_None
); resultobj
= Py_None
;
35328 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35331 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35333 return Py_BuildValue((char *)"");
35335 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35336 PyObject
*resultobj
;
35337 wxMenu
*arg1
= (wxMenu
*) NULL
;
35338 int arg2
= (int) wxID_ANY
;
35339 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35341 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35342 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35343 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35344 wxMenu
*arg6
= (wxMenu
*) NULL
;
35345 wxMenuItem
*result
;
35346 bool temp3
= false ;
35347 bool temp4
= false ;
35348 PyObject
* obj0
= 0 ;
35349 PyObject
* obj1
= 0 ;
35350 PyObject
* obj2
= 0 ;
35351 PyObject
* obj3
= 0 ;
35352 PyObject
* obj4
= 0 ;
35353 PyObject
* obj5
= 0 ;
35354 char *kwnames
[] = {
35355 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35361 if (SWIG_arg_fail(1)) SWIG_fail
;
35365 arg2
= (int)(SWIG_As_int(obj1
));
35366 if (SWIG_arg_fail(2)) SWIG_fail
;
35371 arg3
= wxString_in_helper(obj2
);
35372 if (arg3
== NULL
) SWIG_fail
;
35378 arg4
= wxString_in_helper(obj3
);
35379 if (arg4
== NULL
) SWIG_fail
;
35385 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35386 if (SWIG_arg_fail(5)) SWIG_fail
;
35390 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35391 if (SWIG_arg_fail(6)) SWIG_fail
;
35394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35395 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35401 resultobj
= wxPyMake_wxObject(result
, 1);
35425 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35426 PyObject
*resultobj
;
35427 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35429 PyObject
* obj0
= 0 ;
35430 char *kwnames
[] = {
35431 (char *) "self", NULL
35434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35436 if (SWIG_arg_fail(1)) SWIG_fail
;
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35445 resultobj
= wxPyMake_wxObject(result
, 0);
35453 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
;
35455 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35456 wxMenu
*arg2
= (wxMenu
*) 0 ;
35457 PyObject
* obj0
= 0 ;
35458 PyObject
* obj1
= 0 ;
35459 char *kwnames
[] = {
35460 (char *) "self",(char *) "menu", NULL
35463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35465 if (SWIG_arg_fail(1)) SWIG_fail
;
35466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35467 if (SWIG_arg_fail(2)) SWIG_fail
;
35469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35470 (arg1
)->SetMenu(arg2
);
35472 wxPyEndAllowThreads(__tstate
);
35473 if (PyErr_Occurred()) SWIG_fail
;
35475 Py_INCREF(Py_None
); resultobj
= Py_None
;
35482 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35483 PyObject
*resultobj
;
35484 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35486 PyObject
* obj0
= 0 ;
35487 PyObject
* obj1
= 0 ;
35488 char *kwnames
[] = {
35489 (char *) "self",(char *) "id", NULL
35492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35494 if (SWIG_arg_fail(1)) SWIG_fail
;
35496 arg2
= (int)(SWIG_As_int(obj1
));
35497 if (SWIG_arg_fail(2)) SWIG_fail
;
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 (arg1
)->SetId(arg2
);
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35506 Py_INCREF(Py_None
); resultobj
= Py_None
;
35513 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
;
35515 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35517 PyObject
* obj0
= 0 ;
35518 char *kwnames
[] = {
35519 (char *) "self", NULL
35522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35524 if (SWIG_arg_fail(1)) SWIG_fail
;
35526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35527 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35529 wxPyEndAllowThreads(__tstate
);
35530 if (PyErr_Occurred()) SWIG_fail
;
35533 resultobj
= SWIG_From_int((int)(result
));
35541 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35542 PyObject
*resultobj
;
35543 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35545 PyObject
* obj0
= 0 ;
35546 char *kwnames
[] = {
35547 (char *) "self", NULL
35550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35552 if (SWIG_arg_fail(1)) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35569 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35570 PyObject
*resultobj
;
35571 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35572 wxString
*arg2
= 0 ;
35573 bool temp2
= false ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 char *kwnames
[] = {
35577 (char *) "self",(char *) "str", NULL
35580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35582 if (SWIG_arg_fail(1)) SWIG_fail
;
35584 arg2
= wxString_in_helper(obj1
);
35585 if (arg2
== NULL
) SWIG_fail
;
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35590 (arg1
)->SetText((wxString
const &)*arg2
);
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35595 Py_INCREF(Py_None
); resultobj
= Py_None
;
35610 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35611 PyObject
*resultobj
;
35612 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35614 PyObject
* obj0
= 0 ;
35615 char *kwnames
[] = {
35616 (char *) "self", NULL
35619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35621 if (SWIG_arg_fail(1)) SWIG_fail
;
35623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35624 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35626 wxPyEndAllowThreads(__tstate
);
35627 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35642 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
;
35644 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35646 PyObject
* obj0
= 0 ;
35647 char *kwnames
[] = {
35648 (char *) "self", NULL
35651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35653 if (SWIG_arg_fail(1)) SWIG_fail
;
35655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35657 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35658 result
= (wxString
*) &_result_ref
;
35661 wxPyEndAllowThreads(__tstate
);
35662 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35668 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35677 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35678 PyObject
*resultobj
;
35679 wxString
*arg1
= 0 ;
35681 bool temp1
= false ;
35682 PyObject
* obj0
= 0 ;
35683 char *kwnames
[] = {
35684 (char *) "text", NULL
35687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35689 arg1
= wxString_in_helper(obj0
);
35690 if (arg1
== NULL
) SWIG_fail
;
35694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35695 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35697 wxPyEndAllowThreads(__tstate
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35721 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35722 PyObject
*resultobj
;
35723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35725 PyObject
* obj0
= 0 ;
35726 char *kwnames
[] = {
35727 (char *) "self", NULL
35730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35732 if (SWIG_arg_fail(1)) SWIG_fail
;
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= SWIG_From_int((result
));
35747 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35748 PyObject
*resultobj
;
35749 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35751 PyObject
* obj0
= 0 ;
35752 PyObject
* obj1
= 0 ;
35753 char *kwnames
[] = {
35754 (char *) "self",(char *) "kind", NULL
35757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35759 if (SWIG_arg_fail(1)) SWIG_fail
;
35761 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35762 if (SWIG_arg_fail(2)) SWIG_fail
;
35765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35766 (arg1
)->SetKind((wxItemKind
)arg2
);
35768 wxPyEndAllowThreads(__tstate
);
35769 if (PyErr_Occurred()) SWIG_fail
;
35771 Py_INCREF(Py_None
); resultobj
= Py_None
;
35778 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35779 PyObject
*resultobj
;
35780 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35782 PyObject
* obj0
= 0 ;
35783 PyObject
* obj1
= 0 ;
35784 char *kwnames
[] = {
35785 (char *) "self",(char *) "checkable", NULL
35788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35790 if (SWIG_arg_fail(1)) SWIG_fail
;
35792 arg2
= (bool)(SWIG_As_bool(obj1
));
35793 if (SWIG_arg_fail(2)) SWIG_fail
;
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 (arg1
)->SetCheckable(arg2
);
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 Py_INCREF(Py_None
); resultobj
= Py_None
;
35809 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
;
35811 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35813 PyObject
* obj0
= 0 ;
35814 char *kwnames
[] = {
35815 (char *) "self", NULL
35818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35820 if (SWIG_arg_fail(1)) SWIG_fail
;
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35837 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35838 PyObject
*resultobj
;
35839 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35841 PyObject
* obj0
= 0 ;
35842 char *kwnames
[] = {
35843 (char *) "self", NULL
35846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35848 if (SWIG_arg_fail(1)) SWIG_fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35865 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35866 PyObject
*resultobj
;
35867 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35868 wxMenu
*arg2
= (wxMenu
*) 0 ;
35869 PyObject
* obj0
= 0 ;
35870 PyObject
* obj1
= 0 ;
35871 char *kwnames
[] = {
35872 (char *) "self",(char *) "menu", NULL
35875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35877 if (SWIG_arg_fail(1)) SWIG_fail
;
35878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35879 if (SWIG_arg_fail(2)) SWIG_fail
;
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 (arg1
)->SetSubMenu(arg2
);
35884 wxPyEndAllowThreads(__tstate
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35887 Py_INCREF(Py_None
); resultobj
= Py_None
;
35894 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35895 PyObject
*resultobj
;
35896 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35898 PyObject
* obj0
= 0 ;
35899 char *kwnames
[] = {
35900 (char *) "self", NULL
35903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35905 if (SWIG_arg_fail(1)) SWIG_fail
;
35907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35908 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35914 resultobj
= wxPyMake_wxObject(result
, 0);
35922 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35923 PyObject
*resultobj
;
35924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35925 bool arg2
= (bool) true ;
35926 PyObject
* obj0
= 0 ;
35927 PyObject
* obj1
= 0 ;
35928 char *kwnames
[] = {
35929 (char *) "self",(char *) "enable", NULL
35932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35934 if (SWIG_arg_fail(1)) SWIG_fail
;
35937 arg2
= (bool)(SWIG_As_bool(obj1
));
35938 if (SWIG_arg_fail(2)) SWIG_fail
;
35942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 (arg1
)->Enable(arg2
);
35945 wxPyEndAllowThreads(__tstate
);
35946 if (PyErr_Occurred()) SWIG_fail
;
35948 Py_INCREF(Py_None
); resultobj
= Py_None
;
35955 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
;
35957 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35959 PyObject
* obj0
= 0 ;
35960 char *kwnames
[] = {
35961 (char *) "self", NULL
35964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35966 if (SWIG_arg_fail(1)) SWIG_fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35983 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
;
35985 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35986 bool arg2
= (bool) true ;
35987 PyObject
* obj0
= 0 ;
35988 PyObject
* obj1
= 0 ;
35989 char *kwnames
[] = {
35990 (char *) "self",(char *) "check", NULL
35993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35995 if (SWIG_arg_fail(1)) SWIG_fail
;
35998 arg2
= (bool)(SWIG_As_bool(obj1
));
35999 if (SWIG_arg_fail(2)) SWIG_fail
;
36003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36004 (arg1
)->Check(arg2
);
36006 wxPyEndAllowThreads(__tstate
);
36007 if (PyErr_Occurred()) SWIG_fail
;
36009 Py_INCREF(Py_None
); resultobj
= Py_None
;
36016 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36017 PyObject
*resultobj
;
36018 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36020 PyObject
* obj0
= 0 ;
36021 char *kwnames
[] = {
36022 (char *) "self", NULL
36025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36027 if (SWIG_arg_fail(1)) SWIG_fail
;
36029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36030 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36032 wxPyEndAllowThreads(__tstate
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36044 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
;
36046 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36047 PyObject
* obj0
= 0 ;
36048 char *kwnames
[] = {
36049 (char *) "self", NULL
36052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36054 if (SWIG_arg_fail(1)) SWIG_fail
;
36056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36059 wxPyEndAllowThreads(__tstate
);
36060 if (PyErr_Occurred()) SWIG_fail
;
36062 Py_INCREF(Py_None
); resultobj
= Py_None
;
36069 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36070 PyObject
*resultobj
;
36071 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36072 wxString
*arg2
= 0 ;
36073 bool temp2
= false ;
36074 PyObject
* obj0
= 0 ;
36075 PyObject
* obj1
= 0 ;
36076 char *kwnames
[] = {
36077 (char *) "self",(char *) "str", NULL
36080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36082 if (SWIG_arg_fail(1)) SWIG_fail
;
36084 arg2
= wxString_in_helper(obj1
);
36085 if (arg2
== NULL
) SWIG_fail
;
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 (arg1
)->SetHelp((wxString
const &)*arg2
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 Py_INCREF(Py_None
); resultobj
= Py_None
;
36110 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
;
36112 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36114 PyObject
* obj0
= 0 ;
36115 char *kwnames
[] = {
36116 (char *) "self", NULL
36119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36121 if (SWIG_arg_fail(1)) SWIG_fail
;
36123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36125 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36126 result
= (wxString
*) &_result_ref
;
36129 wxPyEndAllowThreads(__tstate
);
36130 if (PyErr_Occurred()) SWIG_fail
;
36134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36145 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36146 PyObject
*resultobj
;
36147 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36148 wxAcceleratorEntry
*result
;
36149 PyObject
* obj0
= 0 ;
36150 char *kwnames
[] = {
36151 (char *) "self", NULL
36154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36156 if (SWIG_arg_fail(1)) SWIG_fail
;
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36161 wxPyEndAllowThreads(__tstate
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36171 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36172 PyObject
*resultobj
;
36173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36174 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36175 PyObject
* obj0
= 0 ;
36176 PyObject
* obj1
= 0 ;
36177 char *kwnames
[] = {
36178 (char *) "self",(char *) "accel", NULL
36181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36183 if (SWIG_arg_fail(1)) SWIG_fail
;
36184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36185 if (SWIG_arg_fail(2)) SWIG_fail
;
36187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36188 (arg1
)->SetAccel(arg2
);
36190 wxPyEndAllowThreads(__tstate
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36193 Py_INCREF(Py_None
); resultobj
= Py_None
;
36200 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36201 PyObject
*resultobj
;
36202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36204 PyObject
* obj0
= 0 ;
36205 PyObject
* obj1
= 0 ;
36206 char *kwnames
[] = {
36207 (char *) "self",(char *) "font", NULL
36210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36212 if (SWIG_arg_fail(1)) SWIG_fail
;
36214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36215 if (SWIG_arg_fail(2)) SWIG_fail
;
36216 if (arg2
== NULL
) {
36217 SWIG_null_ref("wxFont");
36219 if (SWIG_arg_fail(2)) SWIG_fail
;
36222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36228 Py_INCREF(Py_None
); resultobj
= Py_None
;
36235 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
;
36237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36239 PyObject
* obj0
= 0 ;
36240 char *kwnames
[] = {
36241 (char *) "self", NULL
36244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36246 if (SWIG_arg_fail(1)) SWIG_fail
;
36248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36249 result
= wxMenuItem_GetFont(arg1
);
36251 wxPyEndAllowThreads(__tstate
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36255 wxFont
* resultptr
;
36256 resultptr
= new wxFont((wxFont
&)(result
));
36257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36265 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36266 PyObject
*resultobj
;
36267 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36268 wxColour
*arg2
= 0 ;
36270 PyObject
* obj0
= 0 ;
36271 PyObject
* obj1
= 0 ;
36272 char *kwnames
[] = {
36273 (char *) "self",(char *) "colText", NULL
36276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36278 if (SWIG_arg_fail(1)) SWIG_fail
;
36281 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 Py_INCREF(Py_None
); resultobj
= Py_None
;
36297 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36298 PyObject
*resultobj
;
36299 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36301 PyObject
* obj0
= 0 ;
36302 char *kwnames
[] = {
36303 (char *) "self", NULL
36306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36308 if (SWIG_arg_fail(1)) SWIG_fail
;
36310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36311 result
= wxMenuItem_GetTextColour(arg1
);
36313 wxPyEndAllowThreads(__tstate
);
36314 if (PyErr_Occurred()) SWIG_fail
;
36317 wxColour
* resultptr
;
36318 resultptr
= new wxColour((wxColour
&)(result
));
36319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36327 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36328 PyObject
*resultobj
;
36329 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36330 wxColour
*arg2
= 0 ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 char *kwnames
[] = {
36335 (char *) "self",(char *) "colBack", NULL
36338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36340 if (SWIG_arg_fail(1)) SWIG_fail
;
36343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 Py_INCREF(Py_None
); resultobj
= Py_None
;
36359 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
;
36361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36363 PyObject
* obj0
= 0 ;
36364 char *kwnames
[] = {
36365 (char *) "self", NULL
36368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36370 if (SWIG_arg_fail(1)) SWIG_fail
;
36372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36373 result
= wxMenuItem_GetBackgroundColour(arg1
);
36375 wxPyEndAllowThreads(__tstate
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36379 wxColour
* resultptr
;
36380 resultptr
= new wxColour((wxColour
&)(result
));
36381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36389 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36390 PyObject
*resultobj
;
36391 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36392 wxBitmap
*arg2
= 0 ;
36393 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36394 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36395 PyObject
* obj0
= 0 ;
36396 PyObject
* obj1
= 0 ;
36397 PyObject
* obj2
= 0 ;
36398 char *kwnames
[] = {
36399 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36404 if (SWIG_arg_fail(1)) SWIG_fail
;
36406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36407 if (SWIG_arg_fail(2)) SWIG_fail
;
36408 if (arg2
== NULL
) {
36409 SWIG_null_ref("wxBitmap");
36411 if (SWIG_arg_fail(2)) SWIG_fail
;
36415 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36416 if (SWIG_arg_fail(3)) SWIG_fail
;
36417 if (arg3
== NULL
) {
36418 SWIG_null_ref("wxBitmap");
36420 if (SWIG_arg_fail(3)) SWIG_fail
;
36424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36425 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36427 wxPyEndAllowThreads(__tstate
);
36428 if (PyErr_Occurred()) SWIG_fail
;
36430 Py_INCREF(Py_None
); resultobj
= Py_None
;
36437 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36438 PyObject
*resultobj
;
36439 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36440 wxBitmap
*arg2
= 0 ;
36441 PyObject
* obj0
= 0 ;
36442 PyObject
* obj1
= 0 ;
36443 char *kwnames
[] = {
36444 (char *) "self",(char *) "bmpDisabled", NULL
36447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36449 if (SWIG_arg_fail(1)) SWIG_fail
;
36451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36452 if (SWIG_arg_fail(2)) SWIG_fail
;
36453 if (arg2
== NULL
) {
36454 SWIG_null_ref("wxBitmap");
36456 if (SWIG_arg_fail(2)) SWIG_fail
;
36459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36460 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36462 wxPyEndAllowThreads(__tstate
);
36463 if (PyErr_Occurred()) SWIG_fail
;
36465 Py_INCREF(Py_None
); resultobj
= Py_None
;
36472 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36473 PyObject
*resultobj
;
36474 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36476 PyObject
* obj0
= 0 ;
36477 char *kwnames
[] = {
36478 (char *) "self", NULL
36481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36483 if (SWIG_arg_fail(1)) SWIG_fail
;
36485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36487 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
36488 result
= (wxBitmap
*) &_result_ref
;
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36495 wxBitmap
* resultptr
= new wxBitmap(*result
);
36496 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36504 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36505 PyObject
*resultobj
;
36506 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36508 PyObject
* obj0
= 0 ;
36509 PyObject
* obj1
= 0 ;
36510 char *kwnames
[] = {
36511 (char *) "self",(char *) "nWidth", NULL
36514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36516 if (SWIG_arg_fail(1)) SWIG_fail
;
36518 arg2
= (int)(SWIG_As_int(obj1
));
36519 if (SWIG_arg_fail(2)) SWIG_fail
;
36522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36523 wxMenuItem_SetMarginWidth(arg1
,arg2
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 Py_INCREF(Py_None
); resultobj
= Py_None
;
36535 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36536 PyObject
*resultobj
;
36537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36539 PyObject
* obj0
= 0 ;
36540 char *kwnames
[] = {
36541 (char *) "self", NULL
36544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36546 if (SWIG_arg_fail(1)) SWIG_fail
;
36548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36549 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
36551 wxPyEndAllowThreads(__tstate
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36555 resultobj
= SWIG_From_int((int)(result
));
36563 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36564 PyObject
*resultobj
;
36566 char *kwnames
[] = {
36570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 result
= (int)MenuItem_GetDefaultMarginWidth();
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36579 resultobj
= SWIG_From_int((int)(result
));
36587 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36588 PyObject
*resultobj
;
36589 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36591 PyObject
* obj0
= 0 ;
36592 char *kwnames
[] = {
36593 (char *) "self", NULL
36596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36598 if (SWIG_arg_fail(1)) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36615 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36616 PyObject
*resultobj
;
36617 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36618 bool arg2
= (bool) true ;
36619 PyObject
* obj0
= 0 ;
36620 PyObject
* obj1
= 0 ;
36621 char *kwnames
[] = {
36622 (char *) "self",(char *) "ownerDrawn", NULL
36625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36627 if (SWIG_arg_fail(1)) SWIG_fail
;
36630 arg2
= (bool)(SWIG_As_bool(obj1
));
36631 if (SWIG_arg_fail(2)) SWIG_fail
;
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
36638 wxPyEndAllowThreads(__tstate
);
36639 if (PyErr_Occurred()) SWIG_fail
;
36641 Py_INCREF(Py_None
); resultobj
= Py_None
;
36648 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36649 PyObject
*resultobj
;
36650 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36651 PyObject
* obj0
= 0 ;
36652 char *kwnames
[] = {
36653 (char *) "self", NULL
36656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36658 if (SWIG_arg_fail(1)) SWIG_fail
;
36660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36661 wxMenuItem_ResetOwnerDrawn(arg1
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 Py_INCREF(Py_None
); resultobj
= Py_None
;
36673 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
;
36675 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36676 wxBitmap
*arg2
= 0 ;
36677 PyObject
* obj0
= 0 ;
36678 PyObject
* obj1
= 0 ;
36679 char *kwnames
[] = {
36680 (char *) "self",(char *) "bitmap", NULL
36683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36685 if (SWIG_arg_fail(1)) SWIG_fail
;
36687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36688 if (SWIG_arg_fail(2)) SWIG_fail
;
36689 if (arg2
== NULL
) {
36690 SWIG_null_ref("wxBitmap");
36692 if (SWIG_arg_fail(2)) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 Py_INCREF(Py_None
); resultobj
= Py_None
;
36708 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
;
36710 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36712 PyObject
* obj0
= 0 ;
36713 char *kwnames
[] = {
36714 (char *) "self", NULL
36717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36719 if (SWIG_arg_fail(1)) SWIG_fail
;
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36724 result
= (wxBitmap
*) &_result_ref
;
36727 wxPyEndAllowThreads(__tstate
);
36728 if (PyErr_Occurred()) SWIG_fail
;
36731 wxBitmap
* resultptr
= new wxBitmap(*result
);
36732 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36740 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36743 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36745 return Py_BuildValue((char *)"");
36747 static int _wrap_ControlNameStr_set(PyObject
*) {
36748 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36753 static PyObject
*_wrap_ControlNameStr_get(void) {
36758 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36760 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36767 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36768 PyObject
*resultobj
;
36769 wxWindow
*arg1
= (wxWindow
*) 0 ;
36770 int arg2
= (int) -1 ;
36771 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36772 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36773 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36774 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36775 long arg5
= (long) 0 ;
36776 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36777 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36778 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36783 bool temp7
= false ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 PyObject
* obj2
= 0 ;
36787 PyObject
* obj3
= 0 ;
36788 PyObject
* obj4
= 0 ;
36789 PyObject
* obj5
= 0 ;
36790 PyObject
* obj6
= 0 ;
36791 char *kwnames
[] = {
36792 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36797 if (SWIG_arg_fail(1)) SWIG_fail
;
36800 arg2
= (int)(SWIG_As_int(obj1
));
36801 if (SWIG_arg_fail(2)) SWIG_fail
;
36807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36818 arg5
= (long)(SWIG_As_long(obj4
));
36819 if (SWIG_arg_fail(5)) SWIG_fail
;
36824 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36825 if (SWIG_arg_fail(6)) SWIG_fail
;
36826 if (arg6
== NULL
) {
36827 SWIG_null_ref("wxValidator");
36829 if (SWIG_arg_fail(6)) SWIG_fail
;
36834 arg7
= wxString_in_helper(obj6
);
36835 if (arg7
== NULL
) SWIG_fail
;
36840 if (!wxPyCheckForApp()) SWIG_fail
;
36841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36842 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36862 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
;
36865 char *kwnames
[] = {
36869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36871 if (!wxPyCheckForApp()) SWIG_fail
;
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= (wxControl
*)new wxControl();
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36885 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
;
36887 wxControl
*arg1
= (wxControl
*) 0 ;
36888 wxWindow
*arg2
= (wxWindow
*) 0 ;
36889 int arg3
= (int) -1 ;
36890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36894 long arg6
= (long) 0 ;
36895 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36896 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36897 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36898 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36902 bool temp8
= false ;
36903 PyObject
* obj0
= 0 ;
36904 PyObject
* obj1
= 0 ;
36905 PyObject
* obj2
= 0 ;
36906 PyObject
* obj3
= 0 ;
36907 PyObject
* obj4
= 0 ;
36908 PyObject
* obj5
= 0 ;
36909 PyObject
* obj6
= 0 ;
36910 PyObject
* obj7
= 0 ;
36911 char *kwnames
[] = {
36912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36917 if (SWIG_arg_fail(1)) SWIG_fail
;
36918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36919 if (SWIG_arg_fail(2)) SWIG_fail
;
36922 arg3
= (int)(SWIG_As_int(obj2
));
36923 if (SWIG_arg_fail(3)) SWIG_fail
;
36929 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36935 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36940 arg6
= (long)(SWIG_As_long(obj5
));
36941 if (SWIG_arg_fail(6)) SWIG_fail
;
36946 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36947 if (SWIG_arg_fail(7)) SWIG_fail
;
36948 if (arg7
== NULL
) {
36949 SWIG_null_ref("wxValidator");
36951 if (SWIG_arg_fail(7)) SWIG_fail
;
36956 arg8
= wxString_in_helper(obj7
);
36957 if (arg8
== NULL
) SWIG_fail
;
36962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36963 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36965 wxPyEndAllowThreads(__tstate
);
36966 if (PyErr_Occurred()) SWIG_fail
;
36969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36985 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
;
36987 wxControl
*arg1
= (wxControl
*) 0 ;
36988 wxCommandEvent
*arg2
= 0 ;
36989 PyObject
* obj0
= 0 ;
36990 PyObject
* obj1
= 0 ;
36991 char *kwnames
[] = {
36992 (char *) "self",(char *) "event", NULL
36995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36997 if (SWIG_arg_fail(1)) SWIG_fail
;
36999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37000 if (SWIG_arg_fail(2)) SWIG_fail
;
37001 if (arg2
== NULL
) {
37002 SWIG_null_ref("wxCommandEvent");
37004 if (SWIG_arg_fail(2)) SWIG_fail
;
37007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37008 (arg1
)->Command(*arg2
);
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37013 Py_INCREF(Py_None
); resultobj
= Py_None
;
37020 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37021 PyObject
*resultobj
;
37022 wxControl
*arg1
= (wxControl
*) 0 ;
37024 PyObject
* obj0
= 0 ;
37025 char *kwnames
[] = {
37026 (char *) "self", NULL
37029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37031 if (SWIG_arg_fail(1)) SWIG_fail
;
37033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37034 result
= (arg1
)->GetLabel();
37036 wxPyEndAllowThreads(__tstate
);
37037 if (PyErr_Occurred()) SWIG_fail
;
37041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37052 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37053 PyObject
*resultobj
;
37054 wxControl
*arg1
= (wxControl
*) 0 ;
37055 wxString
*arg2
= 0 ;
37056 bool temp2
= false ;
37057 PyObject
* obj0
= 0 ;
37058 PyObject
* obj1
= 0 ;
37059 char *kwnames
[] = {
37060 (char *) "self",(char *) "label", NULL
37063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37065 if (SWIG_arg_fail(1)) SWIG_fail
;
37067 arg2
= wxString_in_helper(obj1
);
37068 if (arg2
== NULL
) SWIG_fail
;
37072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37073 (arg1
)->SetLabel((wxString
const &)*arg2
);
37075 wxPyEndAllowThreads(__tstate
);
37076 if (PyErr_Occurred()) SWIG_fail
;
37078 Py_INCREF(Py_None
); resultobj
= Py_None
;
37093 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37094 PyObject
*resultobj
;
37095 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37096 wxVisualAttributes result
;
37097 PyObject
* obj0
= 0 ;
37098 char *kwnames
[] = {
37099 (char *) "variant", NULL
37102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37105 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37106 if (SWIG_arg_fail(1)) SWIG_fail
;
37110 if (!wxPyCheckForApp()) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37118 wxVisualAttributes
* resultptr
;
37119 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37128 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37131 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37133 return Py_BuildValue((char *)"");
37135 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
;
37137 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37138 wxString
*arg2
= 0 ;
37139 PyObject
*arg3
= (PyObject
*) NULL
;
37141 bool temp2
= false ;
37142 PyObject
* obj0
= 0 ;
37143 PyObject
* obj1
= 0 ;
37144 PyObject
* obj2
= 0 ;
37145 char *kwnames
[] = {
37146 (char *) "self",(char *) "item",(char *) "clientData", NULL
37149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37151 if (SWIG_arg_fail(1)) SWIG_fail
;
37153 arg2
= wxString_in_helper(obj1
);
37154 if (arg2
== NULL
) SWIG_fail
;
37161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37162 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37168 resultobj
= SWIG_From_int((int)(result
));
37184 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
;
37186 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37187 wxArrayString
*arg2
= 0 ;
37188 bool temp2
= false ;
37189 PyObject
* obj0
= 0 ;
37190 PyObject
* obj1
= 0 ;
37191 char *kwnames
[] = {
37192 (char *) "self",(char *) "strings", NULL
37195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37197 if (SWIG_arg_fail(1)) SWIG_fail
;
37199 if (! PySequence_Check(obj1
)) {
37200 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37203 arg2
= new wxArrayString
;
37205 int i
, len
=PySequence_Length(obj1
);
37206 for (i
=0; i
<len
; i
++) {
37207 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37209 PyObject
* str
= PyObject_Unicode(item
);
37211 PyObject
* str
= PyObject_Str(item
);
37213 if (PyErr_Occurred()) SWIG_fail
;
37214 arg2
->Add(Py2wxString(str
));
37220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37221 (arg1
)->Append((wxArrayString
const &)*arg2
);
37223 wxPyEndAllowThreads(__tstate
);
37224 if (PyErr_Occurred()) SWIG_fail
;
37226 Py_INCREF(Py_None
); resultobj
= Py_None
;
37228 if (temp2
) delete arg2
;
37233 if (temp2
) delete arg2
;
37239 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37240 PyObject
*resultobj
;
37241 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37242 wxString
*arg2
= 0 ;
37244 PyObject
*arg4
= (PyObject
*) NULL
;
37246 bool temp2
= false ;
37247 PyObject
* obj0
= 0 ;
37248 PyObject
* obj1
= 0 ;
37249 PyObject
* obj2
= 0 ;
37250 PyObject
* obj3
= 0 ;
37251 char *kwnames
[] = {
37252 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37257 if (SWIG_arg_fail(1)) SWIG_fail
;
37259 arg2
= wxString_in_helper(obj1
);
37260 if (arg2
== NULL
) SWIG_fail
;
37264 arg3
= (int)(SWIG_As_int(obj2
));
37265 if (SWIG_arg_fail(3)) SWIG_fail
;
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37274 wxPyEndAllowThreads(__tstate
);
37275 if (PyErr_Occurred()) SWIG_fail
;
37278 resultobj
= SWIG_From_int((int)(result
));
37294 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37295 PyObject
*resultobj
;
37296 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37297 PyObject
* obj0
= 0 ;
37298 char *kwnames
[] = {
37299 (char *) "self", NULL
37302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37304 if (SWIG_arg_fail(1)) SWIG_fail
;
37306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37309 wxPyEndAllowThreads(__tstate
);
37310 if (PyErr_Occurred()) SWIG_fail
;
37312 Py_INCREF(Py_None
); resultobj
= Py_None
;
37319 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37320 PyObject
*resultobj
;
37321 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37323 PyObject
* obj0
= 0 ;
37324 PyObject
* obj1
= 0 ;
37325 char *kwnames
[] = {
37326 (char *) "self",(char *) "n", NULL
37329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37331 if (SWIG_arg_fail(1)) SWIG_fail
;
37333 arg2
= (int)(SWIG_As_int(obj1
));
37334 if (SWIG_arg_fail(2)) SWIG_fail
;
37337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 (arg1
)->Delete(arg2
);
37340 wxPyEndAllowThreads(__tstate
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37343 Py_INCREF(Py_None
); resultobj
= Py_None
;
37350 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37351 PyObject
*resultobj
;
37352 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37355 PyObject
* obj0
= 0 ;
37356 PyObject
* obj1
= 0 ;
37357 char *kwnames
[] = {
37358 (char *) "self",(char *) "n", NULL
37361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37363 if (SWIG_arg_fail(1)) SWIG_fail
;
37365 arg2
= (int)(SWIG_As_int(obj1
));
37366 if (SWIG_arg_fail(2)) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37375 resultobj
= result
;
37382 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
;
37384 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37386 PyObject
*arg3
= (PyObject
*) 0 ;
37387 PyObject
* obj0
= 0 ;
37388 PyObject
* obj1
= 0 ;
37389 PyObject
* obj2
= 0 ;
37390 char *kwnames
[] = {
37391 (char *) "self",(char *) "n",(char *) "clientData", NULL
37394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37396 if (SWIG_arg_fail(1)) SWIG_fail
;
37398 arg2
= (int)(SWIG_As_int(obj1
));
37399 if (SWIG_arg_fail(2)) SWIG_fail
;
37403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37404 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37406 wxPyEndAllowThreads(__tstate
);
37407 if (PyErr_Occurred()) SWIG_fail
;
37409 Py_INCREF(Py_None
); resultobj
= Py_None
;
37416 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37417 PyObject
*resultobj
;
37418 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37420 PyObject
* obj0
= 0 ;
37421 char *kwnames
[] = {
37422 (char *) "self", NULL
37425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37427 if (SWIG_arg_fail(1)) SWIG_fail
;
37429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37430 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37432 wxPyEndAllowThreads(__tstate
);
37433 if (PyErr_Occurred()) SWIG_fail
;
37436 resultobj
= SWIG_From_int((int)(result
));
37444 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37445 PyObject
*resultobj
;
37446 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37448 PyObject
* obj0
= 0 ;
37449 char *kwnames
[] = {
37450 (char *) "self", NULL
37453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37455 if (SWIG_arg_fail(1)) SWIG_fail
;
37457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37458 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37460 wxPyEndAllowThreads(__tstate
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37472 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37473 PyObject
*resultobj
;
37474 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37477 PyObject
* obj0
= 0 ;
37478 PyObject
* obj1
= 0 ;
37479 char *kwnames
[] = {
37480 (char *) "self",(char *) "n", NULL
37483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37485 if (SWIG_arg_fail(1)) SWIG_fail
;
37487 arg2
= (int)(SWIG_As_int(obj1
));
37488 if (SWIG_arg_fail(2)) SWIG_fail
;
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37494 wxPyEndAllowThreads(__tstate
);
37495 if (PyErr_Occurred()) SWIG_fail
;
37499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37510 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37511 PyObject
*resultobj
;
37512 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37513 wxArrayString result
;
37514 PyObject
* obj0
= 0 ;
37515 char *kwnames
[] = {
37516 (char *) "self", NULL
37519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37521 if (SWIG_arg_fail(1)) SWIG_fail
;
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37530 resultobj
= wxArrayString2PyList_helper(result
);
37538 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37539 PyObject
*resultobj
;
37540 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37542 wxString
*arg3
= 0 ;
37543 bool temp3
= false ;
37544 PyObject
* obj0
= 0 ;
37545 PyObject
* obj1
= 0 ;
37546 PyObject
* obj2
= 0 ;
37547 char *kwnames
[] = {
37548 (char *) "self",(char *) "n",(char *) "s", NULL
37551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37553 if (SWIG_arg_fail(1)) SWIG_fail
;
37555 arg2
= (int)(SWIG_As_int(obj1
));
37556 if (SWIG_arg_fail(2)) SWIG_fail
;
37559 arg3
= wxString_in_helper(obj2
);
37560 if (arg3
== NULL
) SWIG_fail
;
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37567 wxPyEndAllowThreads(__tstate
);
37568 if (PyErr_Occurred()) SWIG_fail
;
37570 Py_INCREF(Py_None
); resultobj
= Py_None
;
37585 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37586 PyObject
*resultobj
;
37587 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37588 wxString
*arg2
= 0 ;
37590 bool temp2
= false ;
37591 PyObject
* obj0
= 0 ;
37592 PyObject
* obj1
= 0 ;
37593 char *kwnames
[] = {
37594 (char *) "self",(char *) "s", NULL
37597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37599 if (SWIG_arg_fail(1)) SWIG_fail
;
37601 arg2
= wxString_in_helper(obj1
);
37602 if (arg2
== NULL
) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37613 resultobj
= SWIG_From_int((int)(result
));
37629 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37630 PyObject
*resultobj
;
37631 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37633 PyObject
* obj0
= 0 ;
37634 PyObject
* obj1
= 0 ;
37635 char *kwnames
[] = {
37636 (char *) "self",(char *) "n", NULL
37639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37641 if (SWIG_arg_fail(1)) SWIG_fail
;
37643 arg2
= (int)(SWIG_As_int(obj1
));
37644 if (SWIG_arg_fail(2)) SWIG_fail
;
37647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37648 (arg1
)->SetSelection(arg2
);
37650 wxPyEndAllowThreads(__tstate
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37653 Py_INCREF(Py_None
); resultobj
= Py_None
;
37660 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37661 PyObject
*resultobj
;
37662 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37664 PyObject
* obj0
= 0 ;
37665 char *kwnames
[] = {
37666 (char *) "self", NULL
37669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37671 if (SWIG_arg_fail(1)) SWIG_fail
;
37673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37674 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37676 wxPyEndAllowThreads(__tstate
);
37677 if (PyErr_Occurred()) SWIG_fail
;
37680 resultobj
= SWIG_From_int((int)(result
));
37688 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37689 PyObject
*resultobj
;
37690 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37691 wxString
*arg2
= 0 ;
37693 bool temp2
= false ;
37694 PyObject
* obj0
= 0 ;
37695 PyObject
* obj1
= 0 ;
37696 char *kwnames
[] = {
37697 (char *) "self",(char *) "s", NULL
37700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37702 if (SWIG_arg_fail(1)) SWIG_fail
;
37704 arg2
= wxString_in_helper(obj1
);
37705 if (arg2
== NULL
) SWIG_fail
;
37709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37710 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37712 wxPyEndAllowThreads(__tstate
);
37713 if (PyErr_Occurred()) SWIG_fail
;
37716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37732 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37733 PyObject
*resultobj
;
37734 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37736 PyObject
* obj0
= 0 ;
37737 char *kwnames
[] = {
37738 (char *) "self", NULL
37741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37743 if (SWIG_arg_fail(1)) SWIG_fail
;
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37764 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37765 PyObject
*resultobj
;
37766 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37768 PyObject
* obj0
= 0 ;
37769 PyObject
* obj1
= 0 ;
37770 char *kwnames
[] = {
37771 (char *) "self",(char *) "n", NULL
37774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37776 if (SWIG_arg_fail(1)) SWIG_fail
;
37778 arg2
= (int)(SWIG_As_int(obj1
));
37779 if (SWIG_arg_fail(2)) SWIG_fail
;
37782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37783 (arg1
)->Select(arg2
);
37785 wxPyEndAllowThreads(__tstate
);
37786 if (PyErr_Occurred()) SWIG_fail
;
37788 Py_INCREF(Py_None
); resultobj
= Py_None
;
37795 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37798 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37800 return Py_BuildValue((char *)"");
37802 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37805 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37807 return Py_BuildValue((char *)"");
37809 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37810 PyObject
*resultobj
;
37811 wxSizerItem
*result
;
37812 char *kwnames
[] = {
37816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37819 result
= (wxSizerItem
*)new wxSizerItem();
37821 wxPyEndAllowThreads(__tstate
);
37822 if (PyErr_Occurred()) SWIG_fail
;
37824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37831 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37832 PyObject
*resultobj
;
37833 wxWindow
*arg1
= (wxWindow
*) 0 ;
37837 PyObject
*arg5
= (PyObject
*) NULL
;
37838 wxSizerItem
*result
;
37839 PyObject
* obj0
= 0 ;
37840 PyObject
* obj1
= 0 ;
37841 PyObject
* obj2
= 0 ;
37842 PyObject
* obj3
= 0 ;
37843 PyObject
* obj4
= 0 ;
37844 char *kwnames
[] = {
37845 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37850 if (SWIG_arg_fail(1)) SWIG_fail
;
37852 arg2
= (int)(SWIG_As_int(obj1
));
37853 if (SWIG_arg_fail(2)) SWIG_fail
;
37856 arg3
= (int)(SWIG_As_int(obj2
));
37857 if (SWIG_arg_fail(3)) SWIG_fail
;
37860 arg4
= (int)(SWIG_As_int(obj3
));
37861 if (SWIG_arg_fail(4)) SWIG_fail
;
37867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37868 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37870 wxPyEndAllowThreads(__tstate
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37880 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
;
37887 PyObject
*arg6
= (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 PyObject
* obj5
= 0 ;
37895 char *kwnames
[] = {
37896 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37901 arg1
= (int)(SWIG_As_int(obj0
));
37902 if (SWIG_arg_fail(1)) SWIG_fail
;
37905 arg2
= (int)(SWIG_As_int(obj1
));
37906 if (SWIG_arg_fail(2)) SWIG_fail
;
37909 arg3
= (int)(SWIG_As_int(obj2
));
37910 if (SWIG_arg_fail(3)) SWIG_fail
;
37913 arg4
= (int)(SWIG_As_int(obj3
));
37914 if (SWIG_arg_fail(4)) SWIG_fail
;
37917 arg5
= (int)(SWIG_As_int(obj4
));
37918 if (SWIG_arg_fail(5)) SWIG_fail
;
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37937 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
;
37939 wxSizer
*arg1
= (wxSizer
*) 0 ;
37943 PyObject
*arg5
= (PyObject
*) NULL
;
37944 wxSizerItem
*result
;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 PyObject
* obj2
= 0 ;
37948 PyObject
* obj3
= 0 ;
37949 PyObject
* obj4
= 0 ;
37950 char *kwnames
[] = {
37951 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37956 if (SWIG_arg_fail(1)) SWIG_fail
;
37958 arg2
= (int)(SWIG_As_int(obj1
));
37959 if (SWIG_arg_fail(2)) SWIG_fail
;
37962 arg3
= (int)(SWIG_As_int(obj2
));
37963 if (SWIG_arg_fail(3)) SWIG_fail
;
37966 arg4
= (int)(SWIG_As_int(obj3
));
37967 if (SWIG_arg_fail(4)) SWIG_fail
;
37973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37974 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37986 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37987 PyObject
*resultobj
;
37988 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37989 PyObject
* obj0
= 0 ;
37990 char *kwnames
[] = {
37991 (char *) "self", NULL
37994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37996 if (SWIG_arg_fail(1)) SWIG_fail
;
37998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37999 (arg1
)->DeleteWindows();
38001 wxPyEndAllowThreads(__tstate
);
38002 if (PyErr_Occurred()) SWIG_fail
;
38004 Py_INCREF(Py_None
); resultobj
= Py_None
;
38011 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38012 PyObject
*resultobj
;
38013 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38014 PyObject
* obj0
= 0 ;
38015 char *kwnames
[] = {
38016 (char *) "self", NULL
38019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38021 if (SWIG_arg_fail(1)) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 (arg1
)->DetachSizer();
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 Py_INCREF(Py_None
); resultobj
= Py_None
;
38036 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
;
38038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38040 PyObject
* obj0
= 0 ;
38041 char *kwnames
[] = {
38042 (char *) "self", NULL
38045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38047 if (SWIG_arg_fail(1)) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= (arg1
)->GetSize();
38052 wxPyEndAllowThreads(__tstate
);
38053 if (PyErr_Occurred()) SWIG_fail
;
38056 wxSize
* resultptr
;
38057 resultptr
= new wxSize((wxSize
&)(result
));
38058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38066 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
;
38068 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38070 PyObject
* obj0
= 0 ;
38071 char *kwnames
[] = {
38072 (char *) "self", NULL
38075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38077 if (SWIG_arg_fail(1)) SWIG_fail
;
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 result
= (arg1
)->CalcMin();
38082 wxPyEndAllowThreads(__tstate
);
38083 if (PyErr_Occurred()) SWIG_fail
;
38086 wxSize
* resultptr
;
38087 resultptr
= new wxSize((wxSize
&)(result
));
38088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38096 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38097 PyObject
*resultobj
;
38098 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38101 PyObject
* obj0
= 0 ;
38102 PyObject
* obj1
= 0 ;
38103 PyObject
* obj2
= 0 ;
38104 char *kwnames
[] = {
38105 (char *) "self",(char *) "pos",(char *) "size", NULL
38108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38110 if (SWIG_arg_fail(1)) SWIG_fail
;
38113 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38114 if (SWIG_arg_fail(2)) SWIG_fail
;
38115 if (argp
== NULL
) {
38116 SWIG_null_ref("wxPoint");
38118 if (SWIG_arg_fail(2)) SWIG_fail
;
38123 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38124 if (SWIG_arg_fail(3)) SWIG_fail
;
38125 if (argp
== NULL
) {
38126 SWIG_null_ref("wxSize");
38128 if (SWIG_arg_fail(3)) SWIG_fail
;
38132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38133 (arg1
)->SetDimension(arg2
,arg3
);
38135 wxPyEndAllowThreads(__tstate
);
38136 if (PyErr_Occurred()) SWIG_fail
;
38138 Py_INCREF(Py_None
); resultobj
= Py_None
;
38145 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38146 PyObject
*resultobj
;
38147 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38149 PyObject
* obj0
= 0 ;
38150 char *kwnames
[] = {
38151 (char *) "self", NULL
38154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38156 if (SWIG_arg_fail(1)) SWIG_fail
;
38158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38159 result
= (arg1
)->GetMinSize();
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38165 wxSize
* resultptr
;
38166 resultptr
= new wxSize((wxSize
&)(result
));
38167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38175 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38176 PyObject
*resultobj
;
38177 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38179 PyObject
* obj0
= 0 ;
38180 char *kwnames
[] = {
38181 (char *) "self", NULL
38184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38186 if (SWIG_arg_fail(1)) SWIG_fail
;
38188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38189 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38195 wxSize
* resultptr
;
38196 resultptr
= new wxSize((wxSize
&)(result
));
38197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38205 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38206 PyObject
*resultobj
;
38207 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38212 PyObject
* obj2
= 0 ;
38213 char *kwnames
[] = {
38214 (char *) "self",(char *) "x",(char *) "y", NULL
38217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38219 if (SWIG_arg_fail(1)) SWIG_fail
;
38221 arg2
= (int)(SWIG_As_int(obj1
));
38222 if (SWIG_arg_fail(2)) SWIG_fail
;
38225 arg3
= (int)(SWIG_As_int(obj2
));
38226 if (SWIG_arg_fail(3)) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 (arg1
)->SetInitSize(arg2
,arg3
);
38232 wxPyEndAllowThreads(__tstate
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38235 Py_INCREF(Py_None
); resultobj
= Py_None
;
38242 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38243 PyObject
*resultobj
;
38244 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38247 PyObject
* obj0
= 0 ;
38248 PyObject
* obj1
= 0 ;
38249 PyObject
* obj2
= 0 ;
38250 char *kwnames
[] = {
38251 (char *) "self",(char *) "width",(char *) "height", NULL
38254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38256 if (SWIG_arg_fail(1)) SWIG_fail
;
38258 arg2
= (int)(SWIG_As_int(obj1
));
38259 if (SWIG_arg_fail(2)) SWIG_fail
;
38262 arg3
= (int)(SWIG_As_int(obj2
));
38263 if (SWIG_arg_fail(3)) SWIG_fail
;
38266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38267 (arg1
)->SetRatio(arg2
,arg3
);
38269 wxPyEndAllowThreads(__tstate
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38272 Py_INCREF(Py_None
); resultobj
= Py_None
;
38279 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38280 PyObject
*resultobj
;
38281 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38283 PyObject
* obj0
= 0 ;
38284 PyObject
* obj1
= 0 ;
38285 char *kwnames
[] = {
38286 (char *) "self",(char *) "size", NULL
38289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38291 if (SWIG_arg_fail(1)) SWIG_fail
;
38294 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38295 if (SWIG_arg_fail(2)) SWIG_fail
;
38296 if (argp
== NULL
) {
38297 SWIG_null_ref("wxSize");
38299 if (SWIG_arg_fail(2)) SWIG_fail
;
38303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38304 (arg1
)->SetRatio(arg2
);
38306 wxPyEndAllowThreads(__tstate
);
38307 if (PyErr_Occurred()) SWIG_fail
;
38309 Py_INCREF(Py_None
); resultobj
= Py_None
;
38316 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38317 PyObject
*resultobj
;
38318 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38320 PyObject
* obj0
= 0 ;
38321 PyObject
* obj1
= 0 ;
38322 char *kwnames
[] = {
38323 (char *) "self",(char *) "ratio", NULL
38326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38328 if (SWIG_arg_fail(1)) SWIG_fail
;
38330 arg2
= (float)(SWIG_As_float(obj1
));
38331 if (SWIG_arg_fail(2)) SWIG_fail
;
38334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38335 (arg1
)->SetRatio(arg2
);
38337 wxPyEndAllowThreads(__tstate
);
38338 if (PyErr_Occurred()) SWIG_fail
;
38340 Py_INCREF(Py_None
); resultobj
= Py_None
;
38347 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38348 PyObject
*resultobj
;
38349 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38351 PyObject
* obj0
= 0 ;
38352 char *kwnames
[] = {
38353 (char *) "self", NULL
38356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38358 if (SWIG_arg_fail(1)) SWIG_fail
;
38360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38361 result
= (float)(arg1
)->GetRatio();
38363 wxPyEndAllowThreads(__tstate
);
38364 if (PyErr_Occurred()) SWIG_fail
;
38367 resultobj
= SWIG_From_float((float)(result
));
38375 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38376 PyObject
*resultobj
;
38377 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38379 PyObject
* obj0
= 0 ;
38380 char *kwnames
[] = {
38381 (char *) "self", NULL
38384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38386 if (SWIG_arg_fail(1)) SWIG_fail
;
38388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38389 result
= (arg1
)->GetRect();
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38395 wxRect
* resultptr
;
38396 resultptr
= new wxRect((wxRect
&)(result
));
38397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38405 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38406 PyObject
*resultobj
;
38407 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38409 PyObject
* obj0
= 0 ;
38410 char *kwnames
[] = {
38411 (char *) "self", NULL
38414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38416 if (SWIG_arg_fail(1)) SWIG_fail
;
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 result
= (bool)(arg1
)->IsWindow();
38421 wxPyEndAllowThreads(__tstate
);
38422 if (PyErr_Occurred()) SWIG_fail
;
38425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38433 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38434 PyObject
*resultobj
;
38435 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38437 PyObject
* obj0
= 0 ;
38438 char *kwnames
[] = {
38439 (char *) "self", NULL
38442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38444 if (SWIG_arg_fail(1)) SWIG_fail
;
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 result
= (bool)(arg1
)->IsSizer();
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38461 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38462 PyObject
*resultobj
;
38463 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38465 PyObject
* obj0
= 0 ;
38466 char *kwnames
[] = {
38467 (char *) "self", NULL
38470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38472 if (SWIG_arg_fail(1)) SWIG_fail
;
38474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38475 result
= (bool)(arg1
)->IsSpacer();
38477 wxPyEndAllowThreads(__tstate
);
38478 if (PyErr_Occurred()) SWIG_fail
;
38481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38489 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38490 PyObject
*resultobj
;
38491 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38495 char *kwnames
[] = {
38496 (char *) "self",(char *) "proportion", NULL
38499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38501 if (SWIG_arg_fail(1)) SWIG_fail
;
38503 arg2
= (int)(SWIG_As_int(obj1
));
38504 if (SWIG_arg_fail(2)) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 (arg1
)->SetProportion(arg2
);
38510 wxPyEndAllowThreads(__tstate
);
38511 if (PyErr_Occurred()) SWIG_fail
;
38513 Py_INCREF(Py_None
); resultobj
= Py_None
;
38520 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38521 PyObject
*resultobj
;
38522 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38524 PyObject
* obj0
= 0 ;
38525 char *kwnames
[] = {
38526 (char *) "self", NULL
38529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38531 if (SWIG_arg_fail(1)) SWIG_fail
;
38533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38534 result
= (int)(arg1
)->GetProportion();
38536 wxPyEndAllowThreads(__tstate
);
38537 if (PyErr_Occurred()) SWIG_fail
;
38540 resultobj
= SWIG_From_int((int)(result
));
38548 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38549 PyObject
*resultobj
;
38550 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38552 PyObject
* obj0
= 0 ;
38553 PyObject
* obj1
= 0 ;
38554 char *kwnames
[] = {
38555 (char *) "self",(char *) "flag", NULL
38558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38560 if (SWIG_arg_fail(1)) SWIG_fail
;
38562 arg2
= (int)(SWIG_As_int(obj1
));
38563 if (SWIG_arg_fail(2)) SWIG_fail
;
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 (arg1
)->SetFlag(arg2
);
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38572 Py_INCREF(Py_None
); resultobj
= Py_None
;
38579 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38580 PyObject
*resultobj
;
38581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38583 PyObject
* obj0
= 0 ;
38584 char *kwnames
[] = {
38585 (char *) "self", NULL
38588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38590 if (SWIG_arg_fail(1)) SWIG_fail
;
38592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38593 result
= (int)(arg1
)->GetFlag();
38595 wxPyEndAllowThreads(__tstate
);
38596 if (PyErr_Occurred()) SWIG_fail
;
38599 resultobj
= SWIG_From_int((int)(result
));
38607 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38608 PyObject
*resultobj
;
38609 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38611 PyObject
* obj0
= 0 ;
38612 PyObject
* obj1
= 0 ;
38613 char *kwnames
[] = {
38614 (char *) "self",(char *) "border", NULL
38617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38619 if (SWIG_arg_fail(1)) SWIG_fail
;
38621 arg2
= (int)(SWIG_As_int(obj1
));
38622 if (SWIG_arg_fail(2)) SWIG_fail
;
38625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38626 (arg1
)->SetBorder(arg2
);
38628 wxPyEndAllowThreads(__tstate
);
38629 if (PyErr_Occurred()) SWIG_fail
;
38631 Py_INCREF(Py_None
); resultobj
= Py_None
;
38638 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38639 PyObject
*resultobj
;
38640 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38642 PyObject
* obj0
= 0 ;
38643 char *kwnames
[] = {
38644 (char *) "self", NULL
38647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38649 if (SWIG_arg_fail(1)) SWIG_fail
;
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 result
= (int)(arg1
)->GetBorder();
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38658 resultobj
= SWIG_From_int((int)(result
));
38666 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38667 PyObject
*resultobj
;
38668 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38670 PyObject
* obj0
= 0 ;
38671 char *kwnames
[] = {
38672 (char *) "self", NULL
38675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38677 if (SWIG_arg_fail(1)) SWIG_fail
;
38679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38680 result
= (wxWindow
*)(arg1
)->GetWindow();
38682 wxPyEndAllowThreads(__tstate
);
38683 if (PyErr_Occurred()) SWIG_fail
;
38686 resultobj
= wxPyMake_wxObject(result
, 0);
38694 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38695 PyObject
*resultobj
;
38696 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38697 wxWindow
*arg2
= (wxWindow
*) 0 ;
38698 PyObject
* obj0
= 0 ;
38699 PyObject
* obj1
= 0 ;
38700 char *kwnames
[] = {
38701 (char *) "self",(char *) "window", NULL
38704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38706 if (SWIG_arg_fail(1)) SWIG_fail
;
38707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38708 if (SWIG_arg_fail(2)) SWIG_fail
;
38710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38711 (arg1
)->SetWindow(arg2
);
38713 wxPyEndAllowThreads(__tstate
);
38714 if (PyErr_Occurred()) SWIG_fail
;
38716 Py_INCREF(Py_None
); resultobj
= Py_None
;
38723 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38724 PyObject
*resultobj
;
38725 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38727 PyObject
* obj0
= 0 ;
38728 char *kwnames
[] = {
38729 (char *) "self", NULL
38732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38734 if (SWIG_arg_fail(1)) SWIG_fail
;
38736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38737 result
= (wxSizer
*)(arg1
)->GetSizer();
38739 wxPyEndAllowThreads(__tstate
);
38740 if (PyErr_Occurred()) SWIG_fail
;
38743 resultobj
= wxPyMake_wxSizer(result
, 0);
38751 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38752 PyObject
*resultobj
;
38753 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38754 wxSizer
*arg2
= (wxSizer
*) 0 ;
38755 PyObject
* obj0
= 0 ;
38756 PyObject
* obj1
= 0 ;
38757 char *kwnames
[] = {
38758 (char *) "self",(char *) "sizer", NULL
38761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38763 if (SWIG_arg_fail(1)) SWIG_fail
;
38764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38765 if (SWIG_arg_fail(2)) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 (arg1
)->SetSizer(arg2
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38773 Py_INCREF(Py_None
); resultobj
= Py_None
;
38780 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38781 PyObject
*resultobj
;
38782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38784 PyObject
* obj0
= 0 ;
38785 char *kwnames
[] = {
38786 (char *) "self", NULL
38789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38791 if (SWIG_arg_fail(1)) SWIG_fail
;
38793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38796 result
= (wxSize
*) &_result_ref
;
38799 wxPyEndAllowThreads(__tstate
);
38800 if (PyErr_Occurred()) SWIG_fail
;
38802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38809 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38810 PyObject
*resultobj
;
38811 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38814 PyObject
* obj0
= 0 ;
38815 PyObject
* obj1
= 0 ;
38816 char *kwnames
[] = {
38817 (char *) "self",(char *) "size", NULL
38820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38822 if (SWIG_arg_fail(1)) SWIG_fail
;
38825 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38829 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38831 wxPyEndAllowThreads(__tstate
);
38832 if (PyErr_Occurred()) SWIG_fail
;
38834 Py_INCREF(Py_None
); resultobj
= Py_None
;
38841 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38842 PyObject
*resultobj
;
38843 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38845 PyObject
* obj0
= 0 ;
38846 PyObject
* obj1
= 0 ;
38847 char *kwnames
[] = {
38848 (char *) "self",(char *) "show", NULL
38851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38853 if (SWIG_arg_fail(1)) SWIG_fail
;
38855 arg2
= (bool)(SWIG_As_bool(obj1
));
38856 if (SWIG_arg_fail(2)) SWIG_fail
;
38859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38860 (arg1
)->Show(arg2
);
38862 wxPyEndAllowThreads(__tstate
);
38863 if (PyErr_Occurred()) SWIG_fail
;
38865 Py_INCREF(Py_None
); resultobj
= Py_None
;
38872 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38873 PyObject
*resultobj
;
38874 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38876 PyObject
* obj0
= 0 ;
38877 char *kwnames
[] = {
38878 (char *) "self", NULL
38881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38883 if (SWIG_arg_fail(1)) SWIG_fail
;
38885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38886 result
= (bool)(arg1
)->IsShown();
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38900 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38901 PyObject
*resultobj
;
38902 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38904 PyObject
* obj0
= 0 ;
38905 char *kwnames
[] = {
38906 (char *) "self", NULL
38909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38911 if (SWIG_arg_fail(1)) SWIG_fail
;
38913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38914 result
= (arg1
)->GetPosition();
38916 wxPyEndAllowThreads(__tstate
);
38917 if (PyErr_Occurred()) SWIG_fail
;
38920 wxPoint
* resultptr
;
38921 resultptr
= new wxPoint((wxPoint
&)(result
));
38922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38930 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38931 PyObject
*resultobj
;
38932 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38934 PyObject
* obj0
= 0 ;
38935 char *kwnames
[] = {
38936 (char *) "self", NULL
38939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38941 if (SWIG_arg_fail(1)) SWIG_fail
;
38943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38944 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38946 wxPyEndAllowThreads(__tstate
);
38947 if (PyErr_Occurred()) SWIG_fail
;
38949 resultobj
= result
;
38956 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38959 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38961 return Py_BuildValue((char *)"");
38963 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38964 PyObject
*resultobj
;
38965 wxSizer
*arg1
= (wxSizer
*) 0 ;
38966 PyObject
*arg2
= (PyObject
*) 0 ;
38967 PyObject
* obj0
= 0 ;
38968 PyObject
* obj1
= 0 ;
38969 char *kwnames
[] = {
38970 (char *) "self",(char *) "_self", NULL
38973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38975 if (SWIG_arg_fail(1)) SWIG_fail
;
38978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38979 wxSizer__setOORInfo(arg1
,arg2
);
38981 wxPyEndAllowThreads(__tstate
);
38982 if (PyErr_Occurred()) SWIG_fail
;
38984 Py_INCREF(Py_None
); resultobj
= Py_None
;
38991 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38992 PyObject
*resultobj
;
38993 wxSizer
*arg1
= (wxSizer
*) 0 ;
38994 PyObject
*arg2
= (PyObject
*) 0 ;
38995 int arg3
= (int) 0 ;
38996 int arg4
= (int) 0 ;
38997 int arg5
= (int) 0 ;
38998 PyObject
*arg6
= (PyObject
*) NULL
;
38999 wxSizerItem
*result
;
39000 PyObject
* obj0
= 0 ;
39001 PyObject
* obj1
= 0 ;
39002 PyObject
* obj2
= 0 ;
39003 PyObject
* obj3
= 0 ;
39004 PyObject
* obj4
= 0 ;
39005 PyObject
* obj5
= 0 ;
39006 char *kwnames
[] = {
39007 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39012 if (SWIG_arg_fail(1)) SWIG_fail
;
39016 arg3
= (int)(SWIG_As_int(obj2
));
39017 if (SWIG_arg_fail(3)) SWIG_fail
;
39022 arg4
= (int)(SWIG_As_int(obj3
));
39023 if (SWIG_arg_fail(4)) SWIG_fail
;
39028 arg5
= (int)(SWIG_As_int(obj4
));
39029 if (SWIG_arg_fail(5)) SWIG_fail
;
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39039 wxPyEndAllowThreads(__tstate
);
39040 if (PyErr_Occurred()) SWIG_fail
;
39042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39049 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39050 PyObject
*resultobj
;
39051 wxSizer
*arg1
= (wxSizer
*) 0 ;
39053 PyObject
*arg3
= (PyObject
*) 0 ;
39054 int arg4
= (int) 0 ;
39055 int arg5
= (int) 0 ;
39056 int arg6
= (int) 0 ;
39057 PyObject
*arg7
= (PyObject
*) NULL
;
39058 wxSizerItem
*result
;
39059 PyObject
* obj0
= 0 ;
39060 PyObject
* obj1
= 0 ;
39061 PyObject
* obj2
= 0 ;
39062 PyObject
* obj3
= 0 ;
39063 PyObject
* obj4
= 0 ;
39064 PyObject
* obj5
= 0 ;
39065 PyObject
* obj6
= 0 ;
39066 char *kwnames
[] = {
39067 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39072 if (SWIG_arg_fail(1)) SWIG_fail
;
39074 arg2
= (int)(SWIG_As_int(obj1
));
39075 if (SWIG_arg_fail(2)) SWIG_fail
;
39080 arg4
= (int)(SWIG_As_int(obj3
));
39081 if (SWIG_arg_fail(4)) SWIG_fail
;
39086 arg5
= (int)(SWIG_As_int(obj4
));
39087 if (SWIG_arg_fail(5)) SWIG_fail
;
39092 arg6
= (int)(SWIG_As_int(obj5
));
39093 if (SWIG_arg_fail(6)) SWIG_fail
;
39100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39101 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39103 wxPyEndAllowThreads(__tstate
);
39104 if (PyErr_Occurred()) SWIG_fail
;
39106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39113 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39114 PyObject
*resultobj
;
39115 wxSizer
*arg1
= (wxSizer
*) 0 ;
39116 PyObject
*arg2
= (PyObject
*) 0 ;
39117 int arg3
= (int) 0 ;
39118 int arg4
= (int) 0 ;
39119 int arg5
= (int) 0 ;
39120 PyObject
*arg6
= (PyObject
*) NULL
;
39121 wxSizerItem
*result
;
39122 PyObject
* obj0
= 0 ;
39123 PyObject
* obj1
= 0 ;
39124 PyObject
* obj2
= 0 ;
39125 PyObject
* obj3
= 0 ;
39126 PyObject
* obj4
= 0 ;
39127 PyObject
* obj5
= 0 ;
39128 char *kwnames
[] = {
39129 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39134 if (SWIG_arg_fail(1)) SWIG_fail
;
39138 arg3
= (int)(SWIG_As_int(obj2
));
39139 if (SWIG_arg_fail(3)) SWIG_fail
;
39144 arg4
= (int)(SWIG_As_int(obj3
));
39145 if (SWIG_arg_fail(4)) SWIG_fail
;
39150 arg5
= (int)(SWIG_As_int(obj4
));
39151 if (SWIG_arg_fail(5)) SWIG_fail
;
39158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39159 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39161 wxPyEndAllowThreads(__tstate
);
39162 if (PyErr_Occurred()) SWIG_fail
;
39164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39171 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39172 PyObject
*resultobj
;
39173 wxSizer
*arg1
= (wxSizer
*) 0 ;
39174 PyObject
*arg2
= (PyObject
*) 0 ;
39176 PyObject
* obj0
= 0 ;
39177 PyObject
* obj1
= 0 ;
39178 char *kwnames
[] = {
39179 (char *) "self",(char *) "item", NULL
39182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39184 if (SWIG_arg_fail(1)) SWIG_fail
;
39187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39188 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39190 wxPyEndAllowThreads(__tstate
);
39191 if (PyErr_Occurred()) SWIG_fail
;
39194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39202 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39203 PyObject
*resultobj
;
39204 wxSizer
*arg1
= (wxSizer
*) 0 ;
39205 PyObject
*arg2
= (PyObject
*) 0 ;
39207 PyObject
* obj0
= 0 ;
39208 PyObject
* obj1
= 0 ;
39209 char *kwnames
[] = {
39210 (char *) "self",(char *) "item", NULL
39213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39215 if (SWIG_arg_fail(1)) SWIG_fail
;
39218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39219 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39221 wxPyEndAllowThreads(__tstate
);
39222 if (PyErr_Occurred()) SWIG_fail
;
39225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39233 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39234 PyObject
*resultobj
;
39235 wxSizer
*arg1
= (wxSizer
*) 0 ;
39236 PyObject
*arg2
= (PyObject
*) 0 ;
39237 wxSizerItem
*result
;
39238 PyObject
* obj0
= 0 ;
39239 PyObject
* obj1
= 0 ;
39240 char *kwnames
[] = {
39241 (char *) "self",(char *) "item", NULL
39244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39246 if (SWIG_arg_fail(1)) SWIG_fail
;
39249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39250 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39252 wxPyEndAllowThreads(__tstate
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39262 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39263 PyObject
*resultobj
;
39264 wxSizer
*arg1
= (wxSizer
*) 0 ;
39265 PyObject
*arg2
= (PyObject
*) 0 ;
39268 PyObject
* obj0
= 0 ;
39269 PyObject
* obj1
= 0 ;
39270 PyObject
* obj2
= 0 ;
39271 char *kwnames
[] = {
39272 (char *) "self",(char *) "item",(char *) "size", NULL
39275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39277 if (SWIG_arg_fail(1)) SWIG_fail
;
39281 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39285 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39287 wxPyEndAllowThreads(__tstate
);
39288 if (PyErr_Occurred()) SWIG_fail
;
39290 Py_INCREF(Py_None
); resultobj
= Py_None
;
39297 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39298 PyObject
*resultobj
;
39299 wxSizer
*arg1
= (wxSizer
*) 0 ;
39300 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39301 wxSizerItem
*result
;
39302 PyObject
* obj0
= 0 ;
39303 PyObject
* obj1
= 0 ;
39304 char *kwnames
[] = {
39305 (char *) "self",(char *) "item", NULL
39308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39310 if (SWIG_arg_fail(1)) SWIG_fail
;
39311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39312 if (SWIG_arg_fail(2)) SWIG_fail
;
39314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39315 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39317 wxPyEndAllowThreads(__tstate
);
39318 if (PyErr_Occurred()) SWIG_fail
;
39320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39327 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39328 PyObject
*resultobj
;
39329 wxSizer
*arg1
= (wxSizer
*) 0 ;
39331 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39332 wxSizerItem
*result
;
39333 PyObject
* obj0
= 0 ;
39334 PyObject
* obj1
= 0 ;
39335 PyObject
* obj2
= 0 ;
39336 char *kwnames
[] = {
39337 (char *) "self",(char *) "index",(char *) "item", NULL
39340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39342 if (SWIG_arg_fail(1)) SWIG_fail
;
39344 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39345 if (SWIG_arg_fail(2)) SWIG_fail
;
39347 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39348 if (SWIG_arg_fail(3)) SWIG_fail
;
39350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39351 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39353 wxPyEndAllowThreads(__tstate
);
39354 if (PyErr_Occurred()) SWIG_fail
;
39356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39363 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39364 PyObject
*resultobj
;
39365 wxSizer
*arg1
= (wxSizer
*) 0 ;
39366 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39367 wxSizerItem
*result
;
39368 PyObject
* obj0
= 0 ;
39369 PyObject
* obj1
= 0 ;
39370 char *kwnames
[] = {
39371 (char *) "self",(char *) "item", NULL
39374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39376 if (SWIG_arg_fail(1)) SWIG_fail
;
39377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39378 if (SWIG_arg_fail(2)) SWIG_fail
;
39380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39381 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39383 wxPyEndAllowThreads(__tstate
);
39384 if (PyErr_Occurred()) SWIG_fail
;
39386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39393 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39394 PyObject
*resultobj
;
39395 wxSizer
*arg1
= (wxSizer
*) 0 ;
39400 PyObject
* obj0
= 0 ;
39401 PyObject
* obj1
= 0 ;
39402 PyObject
* obj2
= 0 ;
39403 PyObject
* obj3
= 0 ;
39404 PyObject
* obj4
= 0 ;
39405 char *kwnames
[] = {
39406 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39411 if (SWIG_arg_fail(1)) SWIG_fail
;
39413 arg2
= (int)(SWIG_As_int(obj1
));
39414 if (SWIG_arg_fail(2)) SWIG_fail
;
39417 arg3
= (int)(SWIG_As_int(obj2
));
39418 if (SWIG_arg_fail(3)) SWIG_fail
;
39421 arg4
= (int)(SWIG_As_int(obj3
));
39422 if (SWIG_arg_fail(4)) SWIG_fail
;
39425 arg5
= (int)(SWIG_As_int(obj4
));
39426 if (SWIG_arg_fail(5)) SWIG_fail
;
39429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39430 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39432 wxPyEndAllowThreads(__tstate
);
39433 if (PyErr_Occurred()) SWIG_fail
;
39435 Py_INCREF(Py_None
); resultobj
= Py_None
;
39442 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39443 PyObject
*resultobj
;
39444 wxSizer
*arg1
= (wxSizer
*) 0 ;
39447 PyObject
* obj0
= 0 ;
39448 PyObject
* obj1
= 0 ;
39449 char *kwnames
[] = {
39450 (char *) "self",(char *) "size", NULL
39453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39455 if (SWIG_arg_fail(1)) SWIG_fail
;
39458 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39464 wxPyEndAllowThreads(__tstate
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39467 Py_INCREF(Py_None
); resultobj
= Py_None
;
39474 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39475 PyObject
*resultobj
;
39476 wxSizer
*arg1
= (wxSizer
*) 0 ;
39478 PyObject
* obj0
= 0 ;
39479 char *kwnames
[] = {
39480 (char *) "self", NULL
39483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39485 if (SWIG_arg_fail(1)) SWIG_fail
;
39487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39488 result
= (arg1
)->GetSize();
39490 wxPyEndAllowThreads(__tstate
);
39491 if (PyErr_Occurred()) SWIG_fail
;
39494 wxSize
* resultptr
;
39495 resultptr
= new wxSize((wxSize
&)(result
));
39496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39504 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39505 PyObject
*resultobj
;
39506 wxSizer
*arg1
= (wxSizer
*) 0 ;
39508 PyObject
* obj0
= 0 ;
39509 char *kwnames
[] = {
39510 (char *) "self", NULL
39513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39515 if (SWIG_arg_fail(1)) SWIG_fail
;
39517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39518 result
= (arg1
)->GetPosition();
39520 wxPyEndAllowThreads(__tstate
);
39521 if (PyErr_Occurred()) SWIG_fail
;
39524 wxPoint
* resultptr
;
39525 resultptr
= new wxPoint((wxPoint
&)(result
));
39526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39534 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39535 PyObject
*resultobj
;
39536 wxSizer
*arg1
= (wxSizer
*) 0 ;
39538 PyObject
* obj0
= 0 ;
39539 char *kwnames
[] = {
39540 (char *) "self", NULL
39543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39545 if (SWIG_arg_fail(1)) SWIG_fail
;
39547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39548 result
= (arg1
)->GetMinSize();
39550 wxPyEndAllowThreads(__tstate
);
39551 if (PyErr_Occurred()) SWIG_fail
;
39554 wxSize
* resultptr
;
39555 resultptr
= new wxSize((wxSize
&)(result
));
39556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39564 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39565 PyObject
*resultobj
;
39566 wxSizer
*arg1
= (wxSizer
*) 0 ;
39567 PyObject
* obj0
= 0 ;
39568 char *kwnames
[] = {
39569 (char *) "self", NULL
39572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39574 if (SWIG_arg_fail(1)) SWIG_fail
;
39576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39577 (arg1
)->RecalcSizes();
39579 wxPyEndAllowThreads(__tstate
);
39580 if (PyErr_Occurred()) SWIG_fail
;
39582 Py_INCREF(Py_None
); resultobj
= Py_None
;
39589 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39590 PyObject
*resultobj
;
39591 wxSizer
*arg1
= (wxSizer
*) 0 ;
39593 PyObject
* obj0
= 0 ;
39594 char *kwnames
[] = {
39595 (char *) "self", NULL
39598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39600 if (SWIG_arg_fail(1)) SWIG_fail
;
39602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39603 result
= (arg1
)->CalcMin();
39605 wxPyEndAllowThreads(__tstate
);
39606 if (PyErr_Occurred()) SWIG_fail
;
39609 wxSize
* resultptr
;
39610 resultptr
= new wxSize((wxSize
&)(result
));
39611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39619 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39620 PyObject
*resultobj
;
39621 wxSizer
*arg1
= (wxSizer
*) 0 ;
39622 PyObject
* obj0
= 0 ;
39623 char *kwnames
[] = {
39624 (char *) "self", NULL
39627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39629 if (SWIG_arg_fail(1)) SWIG_fail
;
39631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39634 wxPyEndAllowThreads(__tstate
);
39635 if (PyErr_Occurred()) SWIG_fail
;
39637 Py_INCREF(Py_None
); resultobj
= Py_None
;
39644 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39645 PyObject
*resultobj
;
39646 wxSizer
*arg1
= (wxSizer
*) 0 ;
39647 wxWindow
*arg2
= (wxWindow
*) 0 ;
39649 PyObject
* obj0
= 0 ;
39650 PyObject
* obj1
= 0 ;
39651 char *kwnames
[] = {
39652 (char *) "self",(char *) "window", NULL
39655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39657 if (SWIG_arg_fail(1)) SWIG_fail
;
39658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39659 if (SWIG_arg_fail(2)) SWIG_fail
;
39661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39662 result
= (arg1
)->Fit(arg2
);
39664 wxPyEndAllowThreads(__tstate
);
39665 if (PyErr_Occurred()) SWIG_fail
;
39668 wxSize
* resultptr
;
39669 resultptr
= new wxSize((wxSize
&)(result
));
39670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39678 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39679 PyObject
*resultobj
;
39680 wxSizer
*arg1
= (wxSizer
*) 0 ;
39681 wxWindow
*arg2
= (wxWindow
*) 0 ;
39682 PyObject
* obj0
= 0 ;
39683 PyObject
* obj1
= 0 ;
39684 char *kwnames
[] = {
39685 (char *) "self",(char *) "window", NULL
39688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39690 if (SWIG_arg_fail(1)) SWIG_fail
;
39691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39692 if (SWIG_arg_fail(2)) SWIG_fail
;
39694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39695 (arg1
)->FitInside(arg2
);
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39700 Py_INCREF(Py_None
); resultobj
= Py_None
;
39707 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39708 PyObject
*resultobj
;
39709 wxSizer
*arg1
= (wxSizer
*) 0 ;
39710 wxWindow
*arg2
= (wxWindow
*) 0 ;
39711 PyObject
* obj0
= 0 ;
39712 PyObject
* obj1
= 0 ;
39713 char *kwnames
[] = {
39714 (char *) "self",(char *) "window", NULL
39717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39719 if (SWIG_arg_fail(1)) SWIG_fail
;
39720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39721 if (SWIG_arg_fail(2)) SWIG_fail
;
39723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39724 (arg1
)->SetSizeHints(arg2
);
39726 wxPyEndAllowThreads(__tstate
);
39727 if (PyErr_Occurred()) SWIG_fail
;
39729 Py_INCREF(Py_None
); resultobj
= Py_None
;
39736 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39737 PyObject
*resultobj
;
39738 wxSizer
*arg1
= (wxSizer
*) 0 ;
39739 wxWindow
*arg2
= (wxWindow
*) 0 ;
39740 PyObject
* obj0
= 0 ;
39741 PyObject
* obj1
= 0 ;
39742 char *kwnames
[] = {
39743 (char *) "self",(char *) "window", NULL
39746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39748 if (SWIG_arg_fail(1)) SWIG_fail
;
39749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39750 if (SWIG_arg_fail(2)) SWIG_fail
;
39752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39753 (arg1
)->SetVirtualSizeHints(arg2
);
39755 wxPyEndAllowThreads(__tstate
);
39756 if (PyErr_Occurred()) SWIG_fail
;
39758 Py_INCREF(Py_None
); resultobj
= Py_None
;
39765 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39766 PyObject
*resultobj
;
39767 wxSizer
*arg1
= (wxSizer
*) 0 ;
39768 bool arg2
= (bool) false ;
39769 PyObject
* obj0
= 0 ;
39770 PyObject
* obj1
= 0 ;
39771 char *kwnames
[] = {
39772 (char *) "self",(char *) "deleteWindows", NULL
39775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39777 if (SWIG_arg_fail(1)) SWIG_fail
;
39780 arg2
= (bool)(SWIG_As_bool(obj1
));
39781 if (SWIG_arg_fail(2)) SWIG_fail
;
39785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39786 (arg1
)->Clear(arg2
);
39788 wxPyEndAllowThreads(__tstate
);
39789 if (PyErr_Occurred()) SWIG_fail
;
39791 Py_INCREF(Py_None
); resultobj
= Py_None
;
39798 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39799 PyObject
*resultobj
;
39800 wxSizer
*arg1
= (wxSizer
*) 0 ;
39801 PyObject
* obj0
= 0 ;
39802 char *kwnames
[] = {
39803 (char *) "self", NULL
39806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39808 if (SWIG_arg_fail(1)) SWIG_fail
;
39810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39811 (arg1
)->DeleteWindows();
39813 wxPyEndAllowThreads(__tstate
);
39814 if (PyErr_Occurred()) SWIG_fail
;
39816 Py_INCREF(Py_None
); resultobj
= Py_None
;
39823 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39824 PyObject
*resultobj
;
39825 wxSizer
*arg1
= (wxSizer
*) 0 ;
39827 PyObject
* obj0
= 0 ;
39828 char *kwnames
[] = {
39829 (char *) "self", NULL
39832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39834 if (SWIG_arg_fail(1)) SWIG_fail
;
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39839 wxPyEndAllowThreads(__tstate
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39842 resultobj
= result
;
39849 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39850 PyObject
*resultobj
;
39851 wxSizer
*arg1
= (wxSizer
*) 0 ;
39852 PyObject
*arg2
= (PyObject
*) 0 ;
39853 bool arg3
= (bool) true ;
39854 bool arg4
= (bool) false ;
39856 PyObject
* obj0
= 0 ;
39857 PyObject
* obj1
= 0 ;
39858 PyObject
* obj2
= 0 ;
39859 PyObject
* obj3
= 0 ;
39860 char *kwnames
[] = {
39861 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39866 if (SWIG_arg_fail(1)) SWIG_fail
;
39870 arg3
= (bool)(SWIG_As_bool(obj2
));
39871 if (SWIG_arg_fail(3)) SWIG_fail
;
39876 arg4
= (bool)(SWIG_As_bool(obj3
));
39877 if (SWIG_arg_fail(4)) SWIG_fail
;
39881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39882 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39884 wxPyEndAllowThreads(__tstate
);
39885 if (PyErr_Occurred()) SWIG_fail
;
39888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39896 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39897 PyObject
*resultobj
;
39898 wxSizer
*arg1
= (wxSizer
*) 0 ;
39899 PyObject
*arg2
= (PyObject
*) 0 ;
39901 PyObject
* obj0
= 0 ;
39902 PyObject
* obj1
= 0 ;
39903 char *kwnames
[] = {
39904 (char *) "self",(char *) "item", NULL
39907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39909 if (SWIG_arg_fail(1)) SWIG_fail
;
39912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39913 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39915 wxPyEndAllowThreads(__tstate
);
39916 if (PyErr_Occurred()) SWIG_fail
;
39919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39927 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39928 PyObject
*resultobj
;
39929 wxSizer
*arg1
= (wxSizer
*) 0 ;
39931 PyObject
* obj0
= 0 ;
39932 PyObject
* obj1
= 0 ;
39933 char *kwnames
[] = {
39934 (char *) "self",(char *) "show", NULL
39937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39939 if (SWIG_arg_fail(1)) SWIG_fail
;
39941 arg2
= (bool)(SWIG_As_bool(obj1
));
39942 if (SWIG_arg_fail(2)) SWIG_fail
;
39945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39946 (arg1
)->ShowItems(arg2
);
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 Py_INCREF(Py_None
); resultobj
= Py_None
;
39958 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39961 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39963 return Py_BuildValue((char *)"");
39965 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39966 PyObject
*resultobj
;
39968 char *kwnames
[] = {
39972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39975 result
= (wxPySizer
*)new wxPySizer();
39977 wxPyEndAllowThreads(__tstate
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39987 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39988 PyObject
*resultobj
;
39989 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39990 PyObject
*arg2
= (PyObject
*) 0 ;
39991 PyObject
*arg3
= (PyObject
*) 0 ;
39992 PyObject
* obj0
= 0 ;
39993 PyObject
* obj1
= 0 ;
39994 PyObject
* obj2
= 0 ;
39995 char *kwnames
[] = {
39996 (char *) "self",(char *) "self",(char *) "_class", NULL
39999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40001 if (SWIG_arg_fail(1)) SWIG_fail
;
40005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40006 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40008 wxPyEndAllowThreads(__tstate
);
40009 if (PyErr_Occurred()) SWIG_fail
;
40011 Py_INCREF(Py_None
); resultobj
= Py_None
;
40018 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40021 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40023 return Py_BuildValue((char *)"");
40025 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40026 PyObject
*resultobj
;
40027 int arg1
= (int) wxHORIZONTAL
;
40028 wxBoxSizer
*result
;
40029 PyObject
* obj0
= 0 ;
40030 char *kwnames
[] = {
40031 (char *) "orient", NULL
40034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40037 arg1
= (int)(SWIG_As_int(obj0
));
40038 if (SWIG_arg_fail(1)) SWIG_fail
;
40042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40043 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40045 wxPyEndAllowThreads(__tstate
);
40046 if (PyErr_Occurred()) SWIG_fail
;
40048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40055 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40056 PyObject
*resultobj
;
40057 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40059 PyObject
* obj0
= 0 ;
40060 char *kwnames
[] = {
40061 (char *) "self", NULL
40064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40066 if (SWIG_arg_fail(1)) SWIG_fail
;
40068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40069 result
= (int)(arg1
)->GetOrientation();
40071 wxPyEndAllowThreads(__tstate
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40075 resultobj
= SWIG_From_int((int)(result
));
40083 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40084 PyObject
*resultobj
;
40085 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40087 PyObject
* obj0
= 0 ;
40088 PyObject
* obj1
= 0 ;
40089 char *kwnames
[] = {
40090 (char *) "self",(char *) "orient", NULL
40093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40095 if (SWIG_arg_fail(1)) SWIG_fail
;
40097 arg2
= (int)(SWIG_As_int(obj1
));
40098 if (SWIG_arg_fail(2)) SWIG_fail
;
40101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40102 (arg1
)->SetOrientation(arg2
);
40104 wxPyEndAllowThreads(__tstate
);
40105 if (PyErr_Occurred()) SWIG_fail
;
40107 Py_INCREF(Py_None
); resultobj
= Py_None
;
40114 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40117 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40119 return Py_BuildValue((char *)"");
40121 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40122 PyObject
*resultobj
;
40123 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40124 int arg2
= (int) wxHORIZONTAL
;
40125 wxStaticBoxSizer
*result
;
40126 PyObject
* obj0
= 0 ;
40127 PyObject
* obj1
= 0 ;
40128 char *kwnames
[] = {
40129 (char *) "box",(char *) "orient", NULL
40132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40134 if (SWIG_arg_fail(1)) SWIG_fail
;
40137 arg2
= (int)(SWIG_As_int(obj1
));
40138 if (SWIG_arg_fail(2)) SWIG_fail
;
40142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40143 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40145 wxPyEndAllowThreads(__tstate
);
40146 if (PyErr_Occurred()) SWIG_fail
;
40148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40155 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40156 PyObject
*resultobj
;
40157 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40158 wxStaticBox
*result
;
40159 PyObject
* obj0
= 0 ;
40160 char *kwnames
[] = {
40161 (char *) "self", NULL
40164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40166 if (SWIG_arg_fail(1)) SWIG_fail
;
40168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40169 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40171 wxPyEndAllowThreads(__tstate
);
40172 if (PyErr_Occurred()) SWIG_fail
;
40175 resultobj
= wxPyMake_wxObject(result
, 0);
40183 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40186 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40188 return Py_BuildValue((char *)"");
40190 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40191 PyObject
*resultobj
;
40192 int arg1
= (int) 1 ;
40193 int arg2
= (int) 0 ;
40194 int arg3
= (int) 0 ;
40195 int arg4
= (int) 0 ;
40196 wxGridSizer
*result
;
40197 PyObject
* obj0
= 0 ;
40198 PyObject
* obj1
= 0 ;
40199 PyObject
* obj2
= 0 ;
40200 PyObject
* obj3
= 0 ;
40201 char *kwnames
[] = {
40202 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40208 arg1
= (int)(SWIG_As_int(obj0
));
40209 if (SWIG_arg_fail(1)) SWIG_fail
;
40214 arg2
= (int)(SWIG_As_int(obj1
));
40215 if (SWIG_arg_fail(2)) SWIG_fail
;
40220 arg3
= (int)(SWIG_As_int(obj2
));
40221 if (SWIG_arg_fail(3)) SWIG_fail
;
40226 arg4
= (int)(SWIG_As_int(obj3
));
40227 if (SWIG_arg_fail(4)) SWIG_fail
;
40231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40232 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40234 wxPyEndAllowThreads(__tstate
);
40235 if (PyErr_Occurred()) SWIG_fail
;
40237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40244 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40245 PyObject
*resultobj
;
40246 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40248 PyObject
* obj0
= 0 ;
40249 PyObject
* obj1
= 0 ;
40250 char *kwnames
[] = {
40251 (char *) "self",(char *) "cols", NULL
40254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40256 if (SWIG_arg_fail(1)) SWIG_fail
;
40258 arg2
= (int)(SWIG_As_int(obj1
));
40259 if (SWIG_arg_fail(2)) SWIG_fail
;
40262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40263 (arg1
)->SetCols(arg2
);
40265 wxPyEndAllowThreads(__tstate
);
40266 if (PyErr_Occurred()) SWIG_fail
;
40268 Py_INCREF(Py_None
); resultobj
= Py_None
;
40275 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40276 PyObject
*resultobj
;
40277 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40279 PyObject
* obj0
= 0 ;
40280 PyObject
* obj1
= 0 ;
40281 char *kwnames
[] = {
40282 (char *) "self",(char *) "rows", NULL
40285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40287 if (SWIG_arg_fail(1)) SWIG_fail
;
40289 arg2
= (int)(SWIG_As_int(obj1
));
40290 if (SWIG_arg_fail(2)) SWIG_fail
;
40293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40294 (arg1
)->SetRows(arg2
);
40296 wxPyEndAllowThreads(__tstate
);
40297 if (PyErr_Occurred()) SWIG_fail
;
40299 Py_INCREF(Py_None
); resultobj
= Py_None
;
40306 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40307 PyObject
*resultobj
;
40308 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40310 PyObject
* obj0
= 0 ;
40311 PyObject
* obj1
= 0 ;
40312 char *kwnames
[] = {
40313 (char *) "self",(char *) "gap", NULL
40316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40318 if (SWIG_arg_fail(1)) SWIG_fail
;
40320 arg2
= (int)(SWIG_As_int(obj1
));
40321 if (SWIG_arg_fail(2)) SWIG_fail
;
40324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40325 (arg1
)->SetVGap(arg2
);
40327 wxPyEndAllowThreads(__tstate
);
40328 if (PyErr_Occurred()) SWIG_fail
;
40330 Py_INCREF(Py_None
); resultobj
= Py_None
;
40337 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40338 PyObject
*resultobj
;
40339 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40341 PyObject
* obj0
= 0 ;
40342 PyObject
* obj1
= 0 ;
40343 char *kwnames
[] = {
40344 (char *) "self",(char *) "gap", NULL
40347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40349 if (SWIG_arg_fail(1)) SWIG_fail
;
40351 arg2
= (int)(SWIG_As_int(obj1
));
40352 if (SWIG_arg_fail(2)) SWIG_fail
;
40355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40356 (arg1
)->SetHGap(arg2
);
40358 wxPyEndAllowThreads(__tstate
);
40359 if (PyErr_Occurred()) SWIG_fail
;
40361 Py_INCREF(Py_None
); resultobj
= Py_None
;
40368 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40369 PyObject
*resultobj
;
40370 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40372 PyObject
* obj0
= 0 ;
40373 char *kwnames
[] = {
40374 (char *) "self", NULL
40377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40379 if (SWIG_arg_fail(1)) SWIG_fail
;
40381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40382 result
= (int)(arg1
)->GetCols();
40384 wxPyEndAllowThreads(__tstate
);
40385 if (PyErr_Occurred()) SWIG_fail
;
40388 resultobj
= SWIG_From_int((int)(result
));
40396 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40397 PyObject
*resultobj
;
40398 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40400 PyObject
* obj0
= 0 ;
40401 char *kwnames
[] = {
40402 (char *) "self", NULL
40405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40407 if (SWIG_arg_fail(1)) SWIG_fail
;
40409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40410 result
= (int)(arg1
)->GetRows();
40412 wxPyEndAllowThreads(__tstate
);
40413 if (PyErr_Occurred()) SWIG_fail
;
40416 resultobj
= SWIG_From_int((int)(result
));
40424 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40425 PyObject
*resultobj
;
40426 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40428 PyObject
* obj0
= 0 ;
40429 char *kwnames
[] = {
40430 (char *) "self", NULL
40433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40435 if (SWIG_arg_fail(1)) SWIG_fail
;
40437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40438 result
= (int)(arg1
)->GetVGap();
40440 wxPyEndAllowThreads(__tstate
);
40441 if (PyErr_Occurred()) SWIG_fail
;
40444 resultobj
= SWIG_From_int((int)(result
));
40452 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40453 PyObject
*resultobj
;
40454 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40456 PyObject
* obj0
= 0 ;
40457 char *kwnames
[] = {
40458 (char *) "self", NULL
40461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40463 if (SWIG_arg_fail(1)) SWIG_fail
;
40465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40466 result
= (int)(arg1
)->GetHGap();
40468 wxPyEndAllowThreads(__tstate
);
40469 if (PyErr_Occurred()) SWIG_fail
;
40472 resultobj
= SWIG_From_int((int)(result
));
40480 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40483 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40485 return Py_BuildValue((char *)"");
40487 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40488 PyObject
*resultobj
;
40489 int arg1
= (int) 1 ;
40490 int arg2
= (int) 0 ;
40491 int arg3
= (int) 0 ;
40492 int arg4
= (int) 0 ;
40493 wxFlexGridSizer
*result
;
40494 PyObject
* obj0
= 0 ;
40495 PyObject
* obj1
= 0 ;
40496 PyObject
* obj2
= 0 ;
40497 PyObject
* obj3
= 0 ;
40498 char *kwnames
[] = {
40499 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40505 arg1
= (int)(SWIG_As_int(obj0
));
40506 if (SWIG_arg_fail(1)) SWIG_fail
;
40511 arg2
= (int)(SWIG_As_int(obj1
));
40512 if (SWIG_arg_fail(2)) SWIG_fail
;
40517 arg3
= (int)(SWIG_As_int(obj2
));
40518 if (SWIG_arg_fail(3)) SWIG_fail
;
40523 arg4
= (int)(SWIG_As_int(obj3
));
40524 if (SWIG_arg_fail(4)) SWIG_fail
;
40528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40529 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40531 wxPyEndAllowThreads(__tstate
);
40532 if (PyErr_Occurred()) SWIG_fail
;
40534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40541 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40542 PyObject
*resultobj
;
40543 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40545 int arg3
= (int) 0 ;
40546 PyObject
* obj0
= 0 ;
40547 PyObject
* obj1
= 0 ;
40548 PyObject
* obj2
= 0 ;
40549 char *kwnames
[] = {
40550 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40555 if (SWIG_arg_fail(1)) SWIG_fail
;
40557 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40558 if (SWIG_arg_fail(2)) SWIG_fail
;
40562 arg3
= (int)(SWIG_As_int(obj2
));
40563 if (SWIG_arg_fail(3)) SWIG_fail
;
40567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40568 (arg1
)->AddGrowableRow(arg2
,arg3
);
40570 wxPyEndAllowThreads(__tstate
);
40571 if (PyErr_Occurred()) SWIG_fail
;
40573 Py_INCREF(Py_None
); resultobj
= Py_None
;
40580 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40581 PyObject
*resultobj
;
40582 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40584 PyObject
* obj0
= 0 ;
40585 PyObject
* obj1
= 0 ;
40586 char *kwnames
[] = {
40587 (char *) "self",(char *) "idx", NULL
40590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40592 if (SWIG_arg_fail(1)) SWIG_fail
;
40594 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40595 if (SWIG_arg_fail(2)) SWIG_fail
;
40598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40599 (arg1
)->RemoveGrowableRow(arg2
);
40601 wxPyEndAllowThreads(__tstate
);
40602 if (PyErr_Occurred()) SWIG_fail
;
40604 Py_INCREF(Py_None
); resultobj
= Py_None
;
40611 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40612 PyObject
*resultobj
;
40613 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40615 int arg3
= (int) 0 ;
40616 PyObject
* obj0
= 0 ;
40617 PyObject
* obj1
= 0 ;
40618 PyObject
* obj2
= 0 ;
40619 char *kwnames
[] = {
40620 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40625 if (SWIG_arg_fail(1)) SWIG_fail
;
40627 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40628 if (SWIG_arg_fail(2)) SWIG_fail
;
40632 arg3
= (int)(SWIG_As_int(obj2
));
40633 if (SWIG_arg_fail(3)) SWIG_fail
;
40637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40638 (arg1
)->AddGrowableCol(arg2
,arg3
);
40640 wxPyEndAllowThreads(__tstate
);
40641 if (PyErr_Occurred()) SWIG_fail
;
40643 Py_INCREF(Py_None
); resultobj
= Py_None
;
40650 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40651 PyObject
*resultobj
;
40652 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40654 PyObject
* obj0
= 0 ;
40655 PyObject
* obj1
= 0 ;
40656 char *kwnames
[] = {
40657 (char *) "self",(char *) "idx", NULL
40660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40662 if (SWIG_arg_fail(1)) SWIG_fail
;
40664 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40665 if (SWIG_arg_fail(2)) SWIG_fail
;
40668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40669 (arg1
)->RemoveGrowableCol(arg2
);
40671 wxPyEndAllowThreads(__tstate
);
40672 if (PyErr_Occurred()) SWIG_fail
;
40674 Py_INCREF(Py_None
); resultobj
= Py_None
;
40681 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40682 PyObject
*resultobj
;
40683 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40685 PyObject
* obj0
= 0 ;
40686 PyObject
* obj1
= 0 ;
40687 char *kwnames
[] = {
40688 (char *) "self",(char *) "direction", NULL
40691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40693 if (SWIG_arg_fail(1)) SWIG_fail
;
40695 arg2
= (int)(SWIG_As_int(obj1
));
40696 if (SWIG_arg_fail(2)) SWIG_fail
;
40699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40700 (arg1
)->SetFlexibleDirection(arg2
);
40702 wxPyEndAllowThreads(__tstate
);
40703 if (PyErr_Occurred()) SWIG_fail
;
40705 Py_INCREF(Py_None
); resultobj
= Py_None
;
40712 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40713 PyObject
*resultobj
;
40714 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40716 PyObject
* obj0
= 0 ;
40717 char *kwnames
[] = {
40718 (char *) "self", NULL
40721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40723 if (SWIG_arg_fail(1)) SWIG_fail
;
40725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40726 result
= (int)(arg1
)->GetFlexibleDirection();
40728 wxPyEndAllowThreads(__tstate
);
40729 if (PyErr_Occurred()) SWIG_fail
;
40732 resultobj
= SWIG_From_int((int)(result
));
40740 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40741 PyObject
*resultobj
;
40742 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40743 wxFlexSizerGrowMode arg2
;
40744 PyObject
* obj0
= 0 ;
40745 PyObject
* obj1
= 0 ;
40746 char *kwnames
[] = {
40747 (char *) "self",(char *) "mode", NULL
40750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40752 if (SWIG_arg_fail(1)) SWIG_fail
;
40754 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40755 if (SWIG_arg_fail(2)) SWIG_fail
;
40758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40759 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40761 wxPyEndAllowThreads(__tstate
);
40762 if (PyErr_Occurred()) SWIG_fail
;
40764 Py_INCREF(Py_None
); resultobj
= Py_None
;
40771 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40772 PyObject
*resultobj
;
40773 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40774 wxFlexSizerGrowMode result
;
40775 PyObject
* obj0
= 0 ;
40776 char *kwnames
[] = {
40777 (char *) "self", NULL
40780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40782 if (SWIG_arg_fail(1)) SWIG_fail
;
40784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40785 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40787 wxPyEndAllowThreads(__tstate
);
40788 if (PyErr_Occurred()) SWIG_fail
;
40790 resultobj
= SWIG_From_int((result
));
40797 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40798 PyObject
*resultobj
;
40799 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40800 wxArrayInt
*result
;
40801 PyObject
* obj0
= 0 ;
40802 char *kwnames
[] = {
40803 (char *) "self", NULL
40806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40808 if (SWIG_arg_fail(1)) SWIG_fail
;
40810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40812 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40813 result
= (wxArrayInt
*) &_result_ref
;
40816 wxPyEndAllowThreads(__tstate
);
40817 if (PyErr_Occurred()) SWIG_fail
;
40820 resultobj
= PyList_New(0);
40822 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40823 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40824 PyList_Append(resultobj
, val
);
40834 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40835 PyObject
*resultobj
;
40836 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40837 wxArrayInt
*result
;
40838 PyObject
* obj0
= 0 ;
40839 char *kwnames
[] = {
40840 (char *) "self", NULL
40843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40845 if (SWIG_arg_fail(1)) SWIG_fail
;
40847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40849 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40850 result
= (wxArrayInt
*) &_result_ref
;
40853 wxPyEndAllowThreads(__tstate
);
40854 if (PyErr_Occurred()) SWIG_fail
;
40857 resultobj
= PyList_New(0);
40859 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40860 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40861 PyList_Append(resultobj
, val
);
40871 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40874 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40876 return Py_BuildValue((char *)"");
40878 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40879 PyObject
*resultobj
;
40880 wxStdDialogButtonSizer
*result
;
40881 char *kwnames
[] = {
40885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40888 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40890 wxPyEndAllowThreads(__tstate
);
40891 if (PyErr_Occurred()) SWIG_fail
;
40893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40900 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40901 PyObject
*resultobj
;
40902 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40903 wxButton
*arg2
= (wxButton
*) 0 ;
40904 PyObject
* obj0
= 0 ;
40905 PyObject
* obj1
= 0 ;
40906 char *kwnames
[] = {
40907 (char *) "self",(char *) "button", NULL
40910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40912 if (SWIG_arg_fail(1)) SWIG_fail
;
40913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40914 if (SWIG_arg_fail(2)) SWIG_fail
;
40916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40917 (arg1
)->AddButton(arg2
);
40919 wxPyEndAllowThreads(__tstate
);
40920 if (PyErr_Occurred()) SWIG_fail
;
40922 Py_INCREF(Py_None
); resultobj
= Py_None
;
40929 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40930 PyObject
*resultobj
;
40931 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40932 PyObject
* obj0
= 0 ;
40933 char *kwnames
[] = {
40934 (char *) "self", NULL
40937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
40938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40939 if (SWIG_arg_fail(1)) SWIG_fail
;
40941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40944 wxPyEndAllowThreads(__tstate
);
40945 if (PyErr_Occurred()) SWIG_fail
;
40947 Py_INCREF(Py_None
); resultobj
= Py_None
;
40954 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40955 PyObject
*resultobj
;
40956 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40957 wxButton
*arg2
= (wxButton
*) 0 ;
40958 PyObject
* obj0
= 0 ;
40959 PyObject
* obj1
= 0 ;
40960 char *kwnames
[] = {
40961 (char *) "self",(char *) "button", NULL
40964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40966 if (SWIG_arg_fail(1)) SWIG_fail
;
40967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40968 if (SWIG_arg_fail(2)) SWIG_fail
;
40970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40971 (arg1
)->SetAffirmativeButton(arg2
);
40973 wxPyEndAllowThreads(__tstate
);
40974 if (PyErr_Occurred()) SWIG_fail
;
40976 Py_INCREF(Py_None
); resultobj
= Py_None
;
40983 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40984 PyObject
*resultobj
;
40985 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40986 wxButton
*arg2
= (wxButton
*) 0 ;
40987 PyObject
* obj0
= 0 ;
40988 PyObject
* obj1
= 0 ;
40989 char *kwnames
[] = {
40990 (char *) "self",(char *) "button", NULL
40993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40995 if (SWIG_arg_fail(1)) SWIG_fail
;
40996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40997 if (SWIG_arg_fail(2)) SWIG_fail
;
40999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41000 (arg1
)->SetNegativeButton(arg2
);
41002 wxPyEndAllowThreads(__tstate
);
41003 if (PyErr_Occurred()) SWIG_fail
;
41005 Py_INCREF(Py_None
); resultobj
= Py_None
;
41012 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41013 PyObject
*resultobj
;
41014 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41015 wxButton
*arg2
= (wxButton
*) 0 ;
41016 PyObject
* obj0
= 0 ;
41017 PyObject
* obj1
= 0 ;
41018 char *kwnames
[] = {
41019 (char *) "self",(char *) "button", NULL
41022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41024 if (SWIG_arg_fail(1)) SWIG_fail
;
41025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41026 if (SWIG_arg_fail(2)) SWIG_fail
;
41028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41029 (arg1
)->SetCancelButton(arg2
);
41031 wxPyEndAllowThreads(__tstate
);
41032 if (PyErr_Occurred()) SWIG_fail
;
41034 Py_INCREF(Py_None
); resultobj
= Py_None
;
41041 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41042 PyObject
*resultobj
;
41043 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41045 PyObject
* obj0
= 0 ;
41046 char *kwnames
[] = {
41047 (char *) "self", NULL
41050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41052 if (SWIG_arg_fail(1)) SWIG_fail
;
41054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41055 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41057 wxPyEndAllowThreads(__tstate
);
41058 if (PyErr_Occurred()) SWIG_fail
;
41061 resultobj
= wxPyMake_wxObject(result
, 0);
41069 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41070 PyObject
*resultobj
;
41071 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41073 PyObject
* obj0
= 0 ;
41074 char *kwnames
[] = {
41075 (char *) "self", NULL
41078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41080 if (SWIG_arg_fail(1)) SWIG_fail
;
41082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41083 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41085 wxPyEndAllowThreads(__tstate
);
41086 if (PyErr_Occurred()) SWIG_fail
;
41089 resultobj
= wxPyMake_wxObject(result
, 0);
41097 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41098 PyObject
*resultobj
;
41099 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41101 PyObject
* obj0
= 0 ;
41102 char *kwnames
[] = {
41103 (char *) "self", NULL
41106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41108 if (SWIG_arg_fail(1)) SWIG_fail
;
41110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41111 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41113 wxPyEndAllowThreads(__tstate
);
41114 if (PyErr_Occurred()) SWIG_fail
;
41117 resultobj
= wxPyMake_wxObject(result
, 0);
41125 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41126 PyObject
*resultobj
;
41127 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41129 PyObject
* obj0
= 0 ;
41130 char *kwnames
[] = {
41131 (char *) "self", NULL
41134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41136 if (SWIG_arg_fail(1)) SWIG_fail
;
41138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41139 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41141 wxPyEndAllowThreads(__tstate
);
41142 if (PyErr_Occurred()) SWIG_fail
;
41145 resultobj
= wxPyMake_wxObject(result
, 0);
41153 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41154 PyObject
*resultobj
;
41155 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41157 PyObject
* obj0
= 0 ;
41158 char *kwnames
[] = {
41159 (char *) "self", NULL
41162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41164 if (SWIG_arg_fail(1)) SWIG_fail
;
41166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41167 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41169 wxPyEndAllowThreads(__tstate
);
41170 if (PyErr_Occurred()) SWIG_fail
;
41173 resultobj
= wxPyMake_wxObject(result
, 0);
41181 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41184 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41186 return Py_BuildValue((char *)"");
41188 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41189 PyObject
*resultobj
;
41190 int arg1
= (int) 0 ;
41191 int arg2
= (int) 0 ;
41192 wxGBPosition
*result
;
41193 PyObject
* obj0
= 0 ;
41194 PyObject
* obj1
= 0 ;
41195 char *kwnames
[] = {
41196 (char *) "row",(char *) "col", NULL
41199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41202 arg1
= (int)(SWIG_As_int(obj0
));
41203 if (SWIG_arg_fail(1)) SWIG_fail
;
41208 arg2
= (int)(SWIG_As_int(obj1
));
41209 if (SWIG_arg_fail(2)) SWIG_fail
;
41213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41214 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41216 wxPyEndAllowThreads(__tstate
);
41217 if (PyErr_Occurred()) SWIG_fail
;
41219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41226 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
;
41228 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41230 PyObject
* obj0
= 0 ;
41231 char *kwnames
[] = {
41232 (char *) "self", NULL
41235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41237 if (SWIG_arg_fail(1)) SWIG_fail
;
41239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41240 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41242 wxPyEndAllowThreads(__tstate
);
41243 if (PyErr_Occurred()) SWIG_fail
;
41246 resultobj
= SWIG_From_int((int)(result
));
41254 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41255 PyObject
*resultobj
;
41256 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41258 PyObject
* obj0
= 0 ;
41259 char *kwnames
[] = {
41260 (char *) "self", NULL
41263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41265 if (SWIG_arg_fail(1)) SWIG_fail
;
41267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41268 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41270 wxPyEndAllowThreads(__tstate
);
41271 if (PyErr_Occurred()) SWIG_fail
;
41274 resultobj
= SWIG_From_int((int)(result
));
41282 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41283 PyObject
*resultobj
;
41284 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41286 PyObject
* obj0
= 0 ;
41287 PyObject
* obj1
= 0 ;
41288 char *kwnames
[] = {
41289 (char *) "self",(char *) "row", NULL
41292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41294 if (SWIG_arg_fail(1)) SWIG_fail
;
41296 arg2
= (int)(SWIG_As_int(obj1
));
41297 if (SWIG_arg_fail(2)) SWIG_fail
;
41300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41301 (arg1
)->SetRow(arg2
);
41303 wxPyEndAllowThreads(__tstate
);
41304 if (PyErr_Occurred()) SWIG_fail
;
41306 Py_INCREF(Py_None
); resultobj
= Py_None
;
41313 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41314 PyObject
*resultobj
;
41315 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41317 PyObject
* obj0
= 0 ;
41318 PyObject
* obj1
= 0 ;
41319 char *kwnames
[] = {
41320 (char *) "self",(char *) "col", NULL
41323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41325 if (SWIG_arg_fail(1)) SWIG_fail
;
41327 arg2
= (int)(SWIG_As_int(obj1
));
41328 if (SWIG_arg_fail(2)) SWIG_fail
;
41331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41332 (arg1
)->SetCol(arg2
);
41334 wxPyEndAllowThreads(__tstate
);
41335 if (PyErr_Occurred()) SWIG_fail
;
41337 Py_INCREF(Py_None
); resultobj
= Py_None
;
41344 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41345 PyObject
*resultobj
;
41346 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41347 wxGBPosition
*arg2
= 0 ;
41349 wxGBPosition temp2
;
41350 PyObject
* obj0
= 0 ;
41351 PyObject
* obj1
= 0 ;
41352 char *kwnames
[] = {
41353 (char *) "self",(char *) "other", NULL
41356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41358 if (SWIG_arg_fail(1)) SWIG_fail
;
41361 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41365 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41367 wxPyEndAllowThreads(__tstate
);
41368 if (PyErr_Occurred()) SWIG_fail
;
41371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41379 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41380 PyObject
*resultobj
;
41381 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41382 wxGBPosition
*arg2
= 0 ;
41384 wxGBPosition temp2
;
41385 PyObject
* obj0
= 0 ;
41386 PyObject
* obj1
= 0 ;
41387 char *kwnames
[] = {
41388 (char *) "self",(char *) "other", NULL
41391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41393 if (SWIG_arg_fail(1)) SWIG_fail
;
41396 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41400 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41402 wxPyEndAllowThreads(__tstate
);
41403 if (PyErr_Occurred()) SWIG_fail
;
41406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41414 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41415 PyObject
*resultobj
;
41416 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41417 int arg2
= (int) 0 ;
41418 int arg3
= (int) 0 ;
41419 PyObject
* obj0
= 0 ;
41420 PyObject
* obj1
= 0 ;
41421 PyObject
* obj2
= 0 ;
41422 char *kwnames
[] = {
41423 (char *) "self",(char *) "row",(char *) "col", NULL
41426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41428 if (SWIG_arg_fail(1)) SWIG_fail
;
41431 arg2
= (int)(SWIG_As_int(obj1
));
41432 if (SWIG_arg_fail(2)) SWIG_fail
;
41437 arg3
= (int)(SWIG_As_int(obj2
));
41438 if (SWIG_arg_fail(3)) SWIG_fail
;
41442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41443 wxGBPosition_Set(arg1
,arg2
,arg3
);
41445 wxPyEndAllowThreads(__tstate
);
41446 if (PyErr_Occurred()) SWIG_fail
;
41448 Py_INCREF(Py_None
); resultobj
= Py_None
;
41455 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41456 PyObject
*resultobj
;
41457 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41459 PyObject
* obj0
= 0 ;
41460 char *kwnames
[] = {
41461 (char *) "self", NULL
41464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41466 if (SWIG_arg_fail(1)) SWIG_fail
;
41468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41469 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41471 wxPyEndAllowThreads(__tstate
);
41472 if (PyErr_Occurred()) SWIG_fail
;
41474 resultobj
= result
;
41481 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41484 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41486 return Py_BuildValue((char *)"");
41488 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41489 PyObject
*resultobj
;
41490 int arg1
= (int) 1 ;
41491 int arg2
= (int) 1 ;
41493 PyObject
* obj0
= 0 ;
41494 PyObject
* obj1
= 0 ;
41495 char *kwnames
[] = {
41496 (char *) "rowspan",(char *) "colspan", NULL
41499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41502 arg1
= (int)(SWIG_As_int(obj0
));
41503 if (SWIG_arg_fail(1)) SWIG_fail
;
41508 arg2
= (int)(SWIG_As_int(obj1
));
41509 if (SWIG_arg_fail(2)) SWIG_fail
;
41513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41514 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41516 wxPyEndAllowThreads(__tstate
);
41517 if (PyErr_Occurred()) SWIG_fail
;
41519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41526 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41527 PyObject
*resultobj
;
41528 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41530 PyObject
* obj0
= 0 ;
41531 char *kwnames
[] = {
41532 (char *) "self", NULL
41535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41537 if (SWIG_arg_fail(1)) SWIG_fail
;
41539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41540 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41542 wxPyEndAllowThreads(__tstate
);
41543 if (PyErr_Occurred()) SWIG_fail
;
41546 resultobj
= SWIG_From_int((int)(result
));
41554 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41555 PyObject
*resultobj
;
41556 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41558 PyObject
* obj0
= 0 ;
41559 char *kwnames
[] = {
41560 (char *) "self", NULL
41563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41565 if (SWIG_arg_fail(1)) SWIG_fail
;
41567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41568 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41570 wxPyEndAllowThreads(__tstate
);
41571 if (PyErr_Occurred()) SWIG_fail
;
41574 resultobj
= SWIG_From_int((int)(result
));
41582 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41583 PyObject
*resultobj
;
41584 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41586 PyObject
* obj0
= 0 ;
41587 PyObject
* obj1
= 0 ;
41588 char *kwnames
[] = {
41589 (char *) "self",(char *) "rowspan", NULL
41592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41594 if (SWIG_arg_fail(1)) SWIG_fail
;
41596 arg2
= (int)(SWIG_As_int(obj1
));
41597 if (SWIG_arg_fail(2)) SWIG_fail
;
41600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41601 (arg1
)->SetRowspan(arg2
);
41603 wxPyEndAllowThreads(__tstate
);
41604 if (PyErr_Occurred()) SWIG_fail
;
41606 Py_INCREF(Py_None
); resultobj
= Py_None
;
41613 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41614 PyObject
*resultobj
;
41615 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41617 PyObject
* obj0
= 0 ;
41618 PyObject
* obj1
= 0 ;
41619 char *kwnames
[] = {
41620 (char *) "self",(char *) "colspan", NULL
41623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41625 if (SWIG_arg_fail(1)) SWIG_fail
;
41627 arg2
= (int)(SWIG_As_int(obj1
));
41628 if (SWIG_arg_fail(2)) SWIG_fail
;
41631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41632 (arg1
)->SetColspan(arg2
);
41634 wxPyEndAllowThreads(__tstate
);
41635 if (PyErr_Occurred()) SWIG_fail
;
41637 Py_INCREF(Py_None
); resultobj
= Py_None
;
41644 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41645 PyObject
*resultobj
;
41646 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41647 wxGBSpan
*arg2
= 0 ;
41650 PyObject
* obj0
= 0 ;
41651 PyObject
* obj1
= 0 ;
41652 char *kwnames
[] = {
41653 (char *) "self",(char *) "other", NULL
41656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41658 if (SWIG_arg_fail(1)) SWIG_fail
;
41661 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41665 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41667 wxPyEndAllowThreads(__tstate
);
41668 if (PyErr_Occurred()) SWIG_fail
;
41671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41679 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41680 PyObject
*resultobj
;
41681 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41682 wxGBSpan
*arg2
= 0 ;
41685 PyObject
* obj0
= 0 ;
41686 PyObject
* obj1
= 0 ;
41687 char *kwnames
[] = {
41688 (char *) "self",(char *) "other", NULL
41691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41693 if (SWIG_arg_fail(1)) SWIG_fail
;
41696 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41700 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41702 wxPyEndAllowThreads(__tstate
);
41703 if (PyErr_Occurred()) SWIG_fail
;
41706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41714 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41715 PyObject
*resultobj
;
41716 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41717 int arg2
= (int) 1 ;
41718 int arg3
= (int) 1 ;
41719 PyObject
* obj0
= 0 ;
41720 PyObject
* obj1
= 0 ;
41721 PyObject
* obj2
= 0 ;
41722 char *kwnames
[] = {
41723 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41728 if (SWIG_arg_fail(1)) SWIG_fail
;
41731 arg2
= (int)(SWIG_As_int(obj1
));
41732 if (SWIG_arg_fail(2)) SWIG_fail
;
41737 arg3
= (int)(SWIG_As_int(obj2
));
41738 if (SWIG_arg_fail(3)) SWIG_fail
;
41742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41743 wxGBSpan_Set(arg1
,arg2
,arg3
);
41745 wxPyEndAllowThreads(__tstate
);
41746 if (PyErr_Occurred()) SWIG_fail
;
41748 Py_INCREF(Py_None
); resultobj
= Py_None
;
41755 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41756 PyObject
*resultobj
;
41757 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41759 PyObject
* obj0
= 0 ;
41760 char *kwnames
[] = {
41761 (char *) "self", NULL
41764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41766 if (SWIG_arg_fail(1)) SWIG_fail
;
41768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41769 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41771 wxPyEndAllowThreads(__tstate
);
41772 if (PyErr_Occurred()) SWIG_fail
;
41774 resultobj
= result
;
41781 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41784 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41786 return Py_BuildValue((char *)"");
41788 static int _wrap_DefaultSpan_set(PyObject
*) {
41789 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41794 static PyObject
*_wrap_DefaultSpan_get(void) {
41797 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41802 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41803 PyObject
*resultobj
;
41804 wxGBSizerItem
*result
;
41805 char *kwnames
[] = {
41809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41812 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41814 wxPyEndAllowThreads(__tstate
);
41815 if (PyErr_Occurred()) SWIG_fail
;
41817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41824 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41825 PyObject
*resultobj
;
41826 wxWindow
*arg1
= (wxWindow
*) 0 ;
41827 wxGBPosition
*arg2
= 0 ;
41828 wxGBSpan
*arg3
= 0 ;
41831 PyObject
*arg6
= (PyObject
*) NULL
;
41832 wxGBSizerItem
*result
;
41833 wxGBPosition temp2
;
41835 PyObject
* obj0
= 0 ;
41836 PyObject
* obj1
= 0 ;
41837 PyObject
* obj2
= 0 ;
41838 PyObject
* obj3
= 0 ;
41839 PyObject
* obj4
= 0 ;
41840 PyObject
* obj5
= 0 ;
41841 char *kwnames
[] = {
41842 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41847 if (SWIG_arg_fail(1)) SWIG_fail
;
41850 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41854 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41857 arg4
= (int)(SWIG_As_int(obj3
));
41858 if (SWIG_arg_fail(4)) SWIG_fail
;
41861 arg5
= (int)(SWIG_As_int(obj4
));
41862 if (SWIG_arg_fail(5)) SWIG_fail
;
41868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41869 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41871 wxPyEndAllowThreads(__tstate
);
41872 if (PyErr_Occurred()) SWIG_fail
;
41874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41881 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41882 PyObject
*resultobj
;
41883 wxSizer
*arg1
= (wxSizer
*) 0 ;
41884 wxGBPosition
*arg2
= 0 ;
41885 wxGBSpan
*arg3
= 0 ;
41888 PyObject
*arg6
= (PyObject
*) NULL
;
41889 wxGBSizerItem
*result
;
41890 wxGBPosition temp2
;
41892 PyObject
* obj0
= 0 ;
41893 PyObject
* obj1
= 0 ;
41894 PyObject
* obj2
= 0 ;
41895 PyObject
* obj3
= 0 ;
41896 PyObject
* obj4
= 0 ;
41897 PyObject
* obj5
= 0 ;
41898 char *kwnames
[] = {
41899 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41904 if (SWIG_arg_fail(1)) SWIG_fail
;
41907 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41911 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41914 arg4
= (int)(SWIG_As_int(obj3
));
41915 if (SWIG_arg_fail(4)) SWIG_fail
;
41918 arg5
= (int)(SWIG_As_int(obj4
));
41919 if (SWIG_arg_fail(5)) SWIG_fail
;
41925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41926 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41928 wxPyEndAllowThreads(__tstate
);
41929 if (PyErr_Occurred()) SWIG_fail
;
41931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41938 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41939 PyObject
*resultobj
;
41942 wxGBPosition
*arg3
= 0 ;
41943 wxGBSpan
*arg4
= 0 ;
41946 PyObject
*arg7
= (PyObject
*) NULL
;
41947 wxGBSizerItem
*result
;
41948 wxGBPosition temp3
;
41950 PyObject
* obj0
= 0 ;
41951 PyObject
* obj1
= 0 ;
41952 PyObject
* obj2
= 0 ;
41953 PyObject
* obj3
= 0 ;
41954 PyObject
* obj4
= 0 ;
41955 PyObject
* obj5
= 0 ;
41956 PyObject
* obj6
= 0 ;
41957 char *kwnames
[] = {
41958 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41963 arg1
= (int)(SWIG_As_int(obj0
));
41964 if (SWIG_arg_fail(1)) SWIG_fail
;
41967 arg2
= (int)(SWIG_As_int(obj1
));
41968 if (SWIG_arg_fail(2)) SWIG_fail
;
41972 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41976 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41979 arg5
= (int)(SWIG_As_int(obj4
));
41980 if (SWIG_arg_fail(5)) SWIG_fail
;
41983 arg6
= (int)(SWIG_As_int(obj5
));
41984 if (SWIG_arg_fail(6)) SWIG_fail
;
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41991 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41993 wxPyEndAllowThreads(__tstate
);
41994 if (PyErr_Occurred()) SWIG_fail
;
41996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42003 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42004 PyObject
*resultobj
;
42005 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42006 wxGBPosition result
;
42007 PyObject
* obj0
= 0 ;
42008 char *kwnames
[] = {
42009 (char *) "self", NULL
42012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42014 if (SWIG_arg_fail(1)) SWIG_fail
;
42016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42017 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42019 wxPyEndAllowThreads(__tstate
);
42020 if (PyErr_Occurred()) SWIG_fail
;
42023 wxGBPosition
* resultptr
;
42024 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42033 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42034 PyObject
*resultobj
;
42035 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42037 PyObject
* obj0
= 0 ;
42038 char *kwnames
[] = {
42039 (char *) "self", NULL
42042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42044 if (SWIG_arg_fail(1)) SWIG_fail
;
42046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42047 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42049 wxPyEndAllowThreads(__tstate
);
42050 if (PyErr_Occurred()) SWIG_fail
;
42053 wxGBSpan
* resultptr
;
42054 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42063 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42064 PyObject
*resultobj
;
42065 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42066 wxGBPosition
*arg2
= 0 ;
42068 wxGBPosition temp2
;
42069 PyObject
* obj0
= 0 ;
42070 PyObject
* obj1
= 0 ;
42071 char *kwnames
[] = {
42072 (char *) "self",(char *) "pos", NULL
42075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42077 if (SWIG_arg_fail(1)) SWIG_fail
;
42080 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42086 wxPyEndAllowThreads(__tstate
);
42087 if (PyErr_Occurred()) SWIG_fail
;
42090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42098 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42099 PyObject
*resultobj
;
42100 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42101 wxGBSpan
*arg2
= 0 ;
42104 PyObject
* obj0
= 0 ;
42105 PyObject
* obj1
= 0 ;
42106 char *kwnames
[] = {
42107 (char *) "self",(char *) "span", NULL
42110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42112 if (SWIG_arg_fail(1)) SWIG_fail
;
42115 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42119 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42121 wxPyEndAllowThreads(__tstate
);
42122 if (PyErr_Occurred()) SWIG_fail
;
42125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42133 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42134 PyObject
*resultobj
;
42135 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42136 wxGBSizerItem
*arg2
= 0 ;
42138 PyObject
* obj0
= 0 ;
42139 PyObject
* obj1
= 0 ;
42140 char *kwnames
[] = {
42141 (char *) "self",(char *) "other", NULL
42144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42146 if (SWIG_arg_fail(1)) SWIG_fail
;
42148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42149 if (SWIG_arg_fail(2)) SWIG_fail
;
42150 if (arg2
== NULL
) {
42151 SWIG_null_ref("wxGBSizerItem");
42153 if (SWIG_arg_fail(2)) SWIG_fail
;
42156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42157 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42159 wxPyEndAllowThreads(__tstate
);
42160 if (PyErr_Occurred()) SWIG_fail
;
42163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42171 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42172 PyObject
*resultobj
;
42173 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42174 wxGBPosition
*arg2
= 0 ;
42175 wxGBSpan
*arg3
= 0 ;
42177 wxGBPosition temp2
;
42179 PyObject
* obj0
= 0 ;
42180 PyObject
* obj1
= 0 ;
42181 PyObject
* obj2
= 0 ;
42182 char *kwnames
[] = {
42183 (char *) "self",(char *) "pos",(char *) "span", NULL
42186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42188 if (SWIG_arg_fail(1)) SWIG_fail
;
42191 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42195 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42199 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42201 wxPyEndAllowThreads(__tstate
);
42202 if (PyErr_Occurred()) SWIG_fail
;
42205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42213 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42214 PyObject
*resultobj
;
42215 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42216 wxGBPosition result
;
42217 PyObject
* obj0
= 0 ;
42218 char *kwnames
[] = {
42219 (char *) "self", NULL
42222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42224 if (SWIG_arg_fail(1)) SWIG_fail
;
42226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42227 result
= wxGBSizerItem_GetEndPos(arg1
);
42229 wxPyEndAllowThreads(__tstate
);
42230 if (PyErr_Occurred()) SWIG_fail
;
42233 wxGBPosition
* resultptr
;
42234 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42243 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42244 PyObject
*resultobj
;
42245 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42246 wxGridBagSizer
*result
;
42247 PyObject
* obj0
= 0 ;
42248 char *kwnames
[] = {
42249 (char *) "self", NULL
42252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42254 if (SWIG_arg_fail(1)) SWIG_fail
;
42256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42257 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42259 wxPyEndAllowThreads(__tstate
);
42260 if (PyErr_Occurred()) SWIG_fail
;
42262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42269 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42270 PyObject
*resultobj
;
42271 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42272 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42273 PyObject
* obj0
= 0 ;
42274 PyObject
* obj1
= 0 ;
42275 char *kwnames
[] = {
42276 (char *) "self",(char *) "sizer", NULL
42279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42281 if (SWIG_arg_fail(1)) SWIG_fail
;
42282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42283 if (SWIG_arg_fail(2)) SWIG_fail
;
42285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42286 (arg1
)->SetGBSizer(arg2
);
42288 wxPyEndAllowThreads(__tstate
);
42289 if (PyErr_Occurred()) SWIG_fail
;
42291 Py_INCREF(Py_None
); resultobj
= Py_None
;
42298 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42301 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42303 return Py_BuildValue((char *)"");
42305 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42306 PyObject
*resultobj
;
42307 int arg1
= (int) 0 ;
42308 int arg2
= (int) 0 ;
42309 wxGridBagSizer
*result
;
42310 PyObject
* obj0
= 0 ;
42311 PyObject
* obj1
= 0 ;
42312 char *kwnames
[] = {
42313 (char *) "vgap",(char *) "hgap", NULL
42316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42319 arg1
= (int)(SWIG_As_int(obj0
));
42320 if (SWIG_arg_fail(1)) SWIG_fail
;
42325 arg2
= (int)(SWIG_As_int(obj1
));
42326 if (SWIG_arg_fail(2)) SWIG_fail
;
42330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42331 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42333 wxPyEndAllowThreads(__tstate
);
42334 if (PyErr_Occurred()) SWIG_fail
;
42336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42343 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42344 PyObject
*resultobj
;
42345 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42346 PyObject
*arg2
= (PyObject
*) 0 ;
42347 wxGBPosition
*arg3
= 0 ;
42348 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42349 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42350 int arg5
= (int) 0 ;
42351 int arg6
= (int) 0 ;
42352 PyObject
*arg7
= (PyObject
*) NULL
;
42353 wxGBSizerItem
*result
;
42354 wxGBPosition temp3
;
42356 PyObject
* obj0
= 0 ;
42357 PyObject
* obj1
= 0 ;
42358 PyObject
* obj2
= 0 ;
42359 PyObject
* obj3
= 0 ;
42360 PyObject
* obj4
= 0 ;
42361 PyObject
* obj5
= 0 ;
42362 PyObject
* obj6
= 0 ;
42363 char *kwnames
[] = {
42364 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42369 if (SWIG_arg_fail(1)) SWIG_fail
;
42373 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42378 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42383 arg5
= (int)(SWIG_As_int(obj4
));
42384 if (SWIG_arg_fail(5)) SWIG_fail
;
42389 arg6
= (int)(SWIG_As_int(obj5
));
42390 if (SWIG_arg_fail(6)) SWIG_fail
;
42397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42398 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42400 wxPyEndAllowThreads(__tstate
);
42401 if (PyErr_Occurred()) SWIG_fail
;
42403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42410 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42411 PyObject
*resultobj
;
42412 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42413 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42414 wxGBSizerItem
*result
;
42415 PyObject
* obj0
= 0 ;
42416 PyObject
* obj1
= 0 ;
42417 char *kwnames
[] = {
42418 (char *) "self",(char *) "item", NULL
42421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42423 if (SWIG_arg_fail(1)) SWIG_fail
;
42424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42425 if (SWIG_arg_fail(2)) SWIG_fail
;
42427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42428 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42430 wxPyEndAllowThreads(__tstate
);
42431 if (PyErr_Occurred()) SWIG_fail
;
42433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42440 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42441 PyObject
*resultobj
;
42442 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42446 PyObject
* obj0
= 0 ;
42447 PyObject
* obj1
= 0 ;
42448 PyObject
* obj2
= 0 ;
42449 char *kwnames
[] = {
42450 (char *) "self",(char *) "row",(char *) "col", NULL
42453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42455 if (SWIG_arg_fail(1)) SWIG_fail
;
42457 arg2
= (int)(SWIG_As_int(obj1
));
42458 if (SWIG_arg_fail(2)) SWIG_fail
;
42461 arg3
= (int)(SWIG_As_int(obj2
));
42462 if (SWIG_arg_fail(3)) SWIG_fail
;
42465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42466 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42468 wxPyEndAllowThreads(__tstate
);
42469 if (PyErr_Occurred()) SWIG_fail
;
42472 wxSize
* resultptr
;
42473 resultptr
= new wxSize((wxSize
&)(result
));
42474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42482 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42483 PyObject
*resultobj
;
42484 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42486 PyObject
* obj0
= 0 ;
42487 char *kwnames
[] = {
42488 (char *) "self", NULL
42491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42493 if (SWIG_arg_fail(1)) SWIG_fail
;
42495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42496 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42502 wxSize
* resultptr
;
42503 resultptr
= new wxSize((wxSize
&)(result
));
42504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42512 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42513 PyObject
*resultobj
;
42514 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42517 PyObject
* obj0
= 0 ;
42518 PyObject
* obj1
= 0 ;
42519 char *kwnames
[] = {
42520 (char *) "self",(char *) "sz", NULL
42523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42525 if (SWIG_arg_fail(1)) SWIG_fail
;
42528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42532 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42534 wxPyEndAllowThreads(__tstate
);
42535 if (PyErr_Occurred()) SWIG_fail
;
42537 Py_INCREF(Py_None
); resultobj
= Py_None
;
42544 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42545 PyObject
*resultobj
;
42546 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42547 wxWindow
*arg2
= (wxWindow
*) 0 ;
42548 wxGBPosition result
;
42549 PyObject
* obj0
= 0 ;
42550 PyObject
* obj1
= 0 ;
42552 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42554 if (SWIG_arg_fail(1)) SWIG_fail
;
42555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42556 if (SWIG_arg_fail(2)) SWIG_fail
;
42558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42559 result
= (arg1
)->GetItemPosition(arg2
);
42561 wxPyEndAllowThreads(__tstate
);
42562 if (PyErr_Occurred()) SWIG_fail
;
42565 wxGBPosition
* resultptr
;
42566 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42575 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42576 PyObject
*resultobj
;
42577 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42578 wxSizer
*arg2
= (wxSizer
*) 0 ;
42579 wxGBPosition result
;
42580 PyObject
* obj0
= 0 ;
42581 PyObject
* obj1
= 0 ;
42583 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42585 if (SWIG_arg_fail(1)) SWIG_fail
;
42586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42587 if (SWIG_arg_fail(2)) SWIG_fail
;
42589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42590 result
= (arg1
)->GetItemPosition(arg2
);
42592 wxPyEndAllowThreads(__tstate
);
42593 if (PyErr_Occurred()) SWIG_fail
;
42596 wxGBPosition
* resultptr
;
42597 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42606 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42607 PyObject
*resultobj
;
42608 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42610 wxGBPosition result
;
42611 PyObject
* obj0
= 0 ;
42612 PyObject
* obj1
= 0 ;
42614 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42616 if (SWIG_arg_fail(1)) SWIG_fail
;
42618 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42619 if (SWIG_arg_fail(2)) SWIG_fail
;
42622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42623 result
= (arg1
)->GetItemPosition(arg2
);
42625 wxPyEndAllowThreads(__tstate
);
42626 if (PyErr_Occurred()) SWIG_fail
;
42629 wxGBPosition
* resultptr
;
42630 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42639 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42644 argc
= PyObject_Length(args
);
42645 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42646 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42662 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42670 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42678 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42688 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42696 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42704 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42712 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42714 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42719 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42724 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42725 PyObject
*resultobj
;
42726 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42727 wxWindow
*arg2
= (wxWindow
*) 0 ;
42728 wxGBPosition
*arg3
= 0 ;
42730 wxGBPosition temp3
;
42731 PyObject
* obj0
= 0 ;
42732 PyObject
* obj1
= 0 ;
42733 PyObject
* obj2
= 0 ;
42735 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42737 if (SWIG_arg_fail(1)) SWIG_fail
;
42738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42739 if (SWIG_arg_fail(2)) SWIG_fail
;
42742 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42746 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42748 wxPyEndAllowThreads(__tstate
);
42749 if (PyErr_Occurred()) SWIG_fail
;
42752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42760 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42761 PyObject
*resultobj
;
42762 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42763 wxSizer
*arg2
= (wxSizer
*) 0 ;
42764 wxGBPosition
*arg3
= 0 ;
42766 wxGBPosition temp3
;
42767 PyObject
* obj0
= 0 ;
42768 PyObject
* obj1
= 0 ;
42769 PyObject
* obj2
= 0 ;
42771 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42773 if (SWIG_arg_fail(1)) SWIG_fail
;
42774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42775 if (SWIG_arg_fail(2)) SWIG_fail
;
42778 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42782 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42784 wxPyEndAllowThreads(__tstate
);
42785 if (PyErr_Occurred()) SWIG_fail
;
42788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42796 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42797 PyObject
*resultobj
;
42798 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42800 wxGBPosition
*arg3
= 0 ;
42802 wxGBPosition temp3
;
42803 PyObject
* obj0
= 0 ;
42804 PyObject
* obj1
= 0 ;
42805 PyObject
* obj2
= 0 ;
42807 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42809 if (SWIG_arg_fail(1)) SWIG_fail
;
42811 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42812 if (SWIG_arg_fail(2)) SWIG_fail
;
42816 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42820 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42822 wxPyEndAllowThreads(__tstate
);
42823 if (PyErr_Occurred()) SWIG_fail
;
42826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42834 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42839 argc
= PyObject_Length(args
);
42840 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42841 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42866 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42869 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42878 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42888 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42897 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42900 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42909 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42917 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42920 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42923 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42929 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42934 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42935 PyObject
*resultobj
;
42936 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42937 wxWindow
*arg2
= (wxWindow
*) 0 ;
42939 PyObject
* obj0
= 0 ;
42940 PyObject
* obj1
= 0 ;
42942 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42944 if (SWIG_arg_fail(1)) SWIG_fail
;
42945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42946 if (SWIG_arg_fail(2)) SWIG_fail
;
42948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42949 result
= (arg1
)->GetItemSpan(arg2
);
42951 wxPyEndAllowThreads(__tstate
);
42952 if (PyErr_Occurred()) SWIG_fail
;
42955 wxGBSpan
* resultptr
;
42956 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42965 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42966 PyObject
*resultobj
;
42967 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42968 wxSizer
*arg2
= (wxSizer
*) 0 ;
42970 PyObject
* obj0
= 0 ;
42971 PyObject
* obj1
= 0 ;
42973 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42975 if (SWIG_arg_fail(1)) SWIG_fail
;
42976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42977 if (SWIG_arg_fail(2)) SWIG_fail
;
42979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42980 result
= (arg1
)->GetItemSpan(arg2
);
42982 wxPyEndAllowThreads(__tstate
);
42983 if (PyErr_Occurred()) SWIG_fail
;
42986 wxGBSpan
* resultptr
;
42987 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42996 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42997 PyObject
*resultobj
;
42998 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43001 PyObject
* obj0
= 0 ;
43002 PyObject
* obj1
= 0 ;
43004 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43006 if (SWIG_arg_fail(1)) SWIG_fail
;
43008 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43009 if (SWIG_arg_fail(2)) SWIG_fail
;
43012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43013 result
= (arg1
)->GetItemSpan(arg2
);
43015 wxPyEndAllowThreads(__tstate
);
43016 if (PyErr_Occurred()) SWIG_fail
;
43019 wxGBSpan
* resultptr
;
43020 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43029 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43034 argc
= PyObject_Length(args
);
43035 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43036 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43042 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43052 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43060 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43078 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43086 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43094 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43102 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43104 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43109 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43114 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43115 PyObject
*resultobj
;
43116 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43117 wxWindow
*arg2
= (wxWindow
*) 0 ;
43118 wxGBSpan
*arg3
= 0 ;
43121 PyObject
* obj0
= 0 ;
43122 PyObject
* obj1
= 0 ;
43123 PyObject
* obj2
= 0 ;
43125 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43127 if (SWIG_arg_fail(1)) SWIG_fail
;
43128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43129 if (SWIG_arg_fail(2)) SWIG_fail
;
43132 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43136 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43138 wxPyEndAllowThreads(__tstate
);
43139 if (PyErr_Occurred()) SWIG_fail
;
43142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43150 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43151 PyObject
*resultobj
;
43152 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43153 wxSizer
*arg2
= (wxSizer
*) 0 ;
43154 wxGBSpan
*arg3
= 0 ;
43157 PyObject
* obj0
= 0 ;
43158 PyObject
* obj1
= 0 ;
43159 PyObject
* obj2
= 0 ;
43161 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43163 if (SWIG_arg_fail(1)) SWIG_fail
;
43164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43165 if (SWIG_arg_fail(2)) SWIG_fail
;
43168 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43172 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43174 wxPyEndAllowThreads(__tstate
);
43175 if (PyErr_Occurred()) SWIG_fail
;
43178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43186 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43187 PyObject
*resultobj
;
43188 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43190 wxGBSpan
*arg3
= 0 ;
43193 PyObject
* obj0
= 0 ;
43194 PyObject
* obj1
= 0 ;
43195 PyObject
* obj2
= 0 ;
43197 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43199 if (SWIG_arg_fail(1)) SWIG_fail
;
43201 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43202 if (SWIG_arg_fail(2)) SWIG_fail
;
43206 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43210 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43212 wxPyEndAllowThreads(__tstate
);
43213 if (PyErr_Occurred()) SWIG_fail
;
43216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43224 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43229 argc
= PyObject_Length(args
);
43230 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43231 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43247 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43256 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43259 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43268 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43278 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43287 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43290 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43299 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43307 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43310 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43313 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43319 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43324 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43325 PyObject
*resultobj
;
43326 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43327 wxWindow
*arg2
= (wxWindow
*) 0 ;
43328 wxGBSizerItem
*result
;
43329 PyObject
* obj0
= 0 ;
43330 PyObject
* obj1
= 0 ;
43332 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43334 if (SWIG_arg_fail(1)) SWIG_fail
;
43335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43336 if (SWIG_arg_fail(2)) SWIG_fail
;
43338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43339 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43341 wxPyEndAllowThreads(__tstate
);
43342 if (PyErr_Occurred()) SWIG_fail
;
43344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43351 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43352 PyObject
*resultobj
;
43353 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43354 wxSizer
*arg2
= (wxSizer
*) 0 ;
43355 wxGBSizerItem
*result
;
43356 PyObject
* obj0
= 0 ;
43357 PyObject
* obj1
= 0 ;
43359 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43361 if (SWIG_arg_fail(1)) SWIG_fail
;
43362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43363 if (SWIG_arg_fail(2)) SWIG_fail
;
43365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43366 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43368 wxPyEndAllowThreads(__tstate
);
43369 if (PyErr_Occurred()) SWIG_fail
;
43371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43378 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43383 argc
= PyObject_Length(args
);
43384 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43385 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43391 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43401 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43409 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43417 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43427 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43435 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43440 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43445 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43446 PyObject
*resultobj
;
43447 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43448 wxGBPosition
*arg2
= 0 ;
43449 wxGBSizerItem
*result
;
43450 wxGBPosition temp2
;
43451 PyObject
* obj0
= 0 ;
43452 PyObject
* obj1
= 0 ;
43453 char *kwnames
[] = {
43454 (char *) "self",(char *) "pos", NULL
43457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43459 if (SWIG_arg_fail(1)) SWIG_fail
;
43462 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43466 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43468 wxPyEndAllowThreads(__tstate
);
43469 if (PyErr_Occurred()) SWIG_fail
;
43471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43478 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43479 PyObject
*resultobj
;
43480 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43481 wxPoint
*arg2
= 0 ;
43482 wxGBSizerItem
*result
;
43484 PyObject
* obj0
= 0 ;
43485 PyObject
* obj1
= 0 ;
43486 char *kwnames
[] = {
43487 (char *) "self",(char *) "pt", NULL
43490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43492 if (SWIG_arg_fail(1)) SWIG_fail
;
43495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43499 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43501 wxPyEndAllowThreads(__tstate
);
43502 if (PyErr_Occurred()) SWIG_fail
;
43504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43511 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43512 PyObject
*resultobj
;
43513 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43514 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43515 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43517 PyObject
* obj0
= 0 ;
43518 PyObject
* obj1
= 0 ;
43519 PyObject
* obj2
= 0 ;
43520 char *kwnames
[] = {
43521 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43526 if (SWIG_arg_fail(1)) SWIG_fail
;
43527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43528 if (SWIG_arg_fail(2)) SWIG_fail
;
43530 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43531 if (SWIG_arg_fail(3)) SWIG_fail
;
43534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43535 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43537 wxPyEndAllowThreads(__tstate
);
43538 if (PyErr_Occurred()) SWIG_fail
;
43541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43549 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43550 PyObject
*resultobj
;
43551 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43552 wxGBPosition
*arg2
= 0 ;
43553 wxGBSpan
*arg3
= 0 ;
43554 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43556 wxGBPosition temp2
;
43558 PyObject
* obj0
= 0 ;
43559 PyObject
* obj1
= 0 ;
43560 PyObject
* obj2
= 0 ;
43561 PyObject
* obj3
= 0 ;
43562 char *kwnames
[] = {
43563 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43568 if (SWIG_arg_fail(1)) SWIG_fail
;
43571 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43575 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43578 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43579 if (SWIG_arg_fail(4)) SWIG_fail
;
43582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43583 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43585 wxPyEndAllowThreads(__tstate
);
43586 if (PyErr_Occurred()) SWIG_fail
;
43589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43597 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43600 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43602 return Py_BuildValue((char *)"");
43604 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43605 PyObject
*resultobj
;
43606 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43607 wxRelationship arg2
;
43608 wxWindow
*arg3
= (wxWindow
*) 0 ;
43610 int arg5
= (int) 0 ;
43611 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43612 PyObject
* obj0
= 0 ;
43613 PyObject
* obj1
= 0 ;
43614 PyObject
* obj2
= 0 ;
43615 PyObject
* obj3
= 0 ;
43616 PyObject
* obj4
= 0 ;
43617 PyObject
* obj5
= 0 ;
43618 char *kwnames
[] = {
43619 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43624 if (SWIG_arg_fail(1)) SWIG_fail
;
43626 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43627 if (SWIG_arg_fail(2)) SWIG_fail
;
43629 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43630 if (SWIG_arg_fail(3)) SWIG_fail
;
43632 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43633 if (SWIG_arg_fail(4)) SWIG_fail
;
43637 arg5
= (int)(SWIG_As_int(obj4
));
43638 if (SWIG_arg_fail(5)) SWIG_fail
;
43643 arg6
= (int)(SWIG_As_int(obj5
));
43644 if (SWIG_arg_fail(6)) SWIG_fail
;
43648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43649 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43651 wxPyEndAllowThreads(__tstate
);
43652 if (PyErr_Occurred()) SWIG_fail
;
43654 Py_INCREF(Py_None
); resultobj
= Py_None
;
43661 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43662 PyObject
*resultobj
;
43663 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43664 wxWindow
*arg2
= (wxWindow
*) 0 ;
43665 int arg3
= (int) 0 ;
43666 PyObject
* obj0
= 0 ;
43667 PyObject
* obj1
= 0 ;
43668 PyObject
* obj2
= 0 ;
43669 char *kwnames
[] = {
43670 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43675 if (SWIG_arg_fail(1)) SWIG_fail
;
43676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43677 if (SWIG_arg_fail(2)) SWIG_fail
;
43680 arg3
= (int)(SWIG_As_int(obj2
));
43681 if (SWIG_arg_fail(3)) SWIG_fail
;
43685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43686 (arg1
)->LeftOf(arg2
,arg3
);
43688 wxPyEndAllowThreads(__tstate
);
43689 if (PyErr_Occurred()) SWIG_fail
;
43691 Py_INCREF(Py_None
); resultobj
= Py_None
;
43698 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43699 PyObject
*resultobj
;
43700 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43701 wxWindow
*arg2
= (wxWindow
*) 0 ;
43702 int arg3
= (int) 0 ;
43703 PyObject
* obj0
= 0 ;
43704 PyObject
* obj1
= 0 ;
43705 PyObject
* obj2
= 0 ;
43706 char *kwnames
[] = {
43707 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43712 if (SWIG_arg_fail(1)) SWIG_fail
;
43713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43714 if (SWIG_arg_fail(2)) SWIG_fail
;
43717 arg3
= (int)(SWIG_As_int(obj2
));
43718 if (SWIG_arg_fail(3)) SWIG_fail
;
43722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43723 (arg1
)->RightOf(arg2
,arg3
);
43725 wxPyEndAllowThreads(__tstate
);
43726 if (PyErr_Occurred()) SWIG_fail
;
43728 Py_INCREF(Py_None
); resultobj
= Py_None
;
43735 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43736 PyObject
*resultobj
;
43737 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43738 wxWindow
*arg2
= (wxWindow
*) 0 ;
43739 int arg3
= (int) 0 ;
43740 PyObject
* obj0
= 0 ;
43741 PyObject
* obj1
= 0 ;
43742 PyObject
* obj2
= 0 ;
43743 char *kwnames
[] = {
43744 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43749 if (SWIG_arg_fail(1)) SWIG_fail
;
43750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43751 if (SWIG_arg_fail(2)) SWIG_fail
;
43754 arg3
= (int)(SWIG_As_int(obj2
));
43755 if (SWIG_arg_fail(3)) SWIG_fail
;
43759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43760 (arg1
)->Above(arg2
,arg3
);
43762 wxPyEndAllowThreads(__tstate
);
43763 if (PyErr_Occurred()) SWIG_fail
;
43765 Py_INCREF(Py_None
); resultobj
= Py_None
;
43772 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43773 PyObject
*resultobj
;
43774 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43775 wxWindow
*arg2
= (wxWindow
*) 0 ;
43776 int arg3
= (int) 0 ;
43777 PyObject
* obj0
= 0 ;
43778 PyObject
* obj1
= 0 ;
43779 PyObject
* obj2
= 0 ;
43780 char *kwnames
[] = {
43781 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43786 if (SWIG_arg_fail(1)) SWIG_fail
;
43787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43788 if (SWIG_arg_fail(2)) SWIG_fail
;
43791 arg3
= (int)(SWIG_As_int(obj2
));
43792 if (SWIG_arg_fail(3)) SWIG_fail
;
43796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43797 (arg1
)->Below(arg2
,arg3
);
43799 wxPyEndAllowThreads(__tstate
);
43800 if (PyErr_Occurred()) SWIG_fail
;
43802 Py_INCREF(Py_None
); resultobj
= Py_None
;
43809 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43810 PyObject
*resultobj
;
43811 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43812 wxWindow
*arg2
= (wxWindow
*) 0 ;
43814 int arg4
= (int) 0 ;
43815 PyObject
* obj0
= 0 ;
43816 PyObject
* obj1
= 0 ;
43817 PyObject
* obj2
= 0 ;
43818 PyObject
* obj3
= 0 ;
43819 char *kwnames
[] = {
43820 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43825 if (SWIG_arg_fail(1)) SWIG_fail
;
43826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43827 if (SWIG_arg_fail(2)) SWIG_fail
;
43829 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43830 if (SWIG_arg_fail(3)) SWIG_fail
;
43834 arg4
= (int)(SWIG_As_int(obj3
));
43835 if (SWIG_arg_fail(4)) SWIG_fail
;
43839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43840 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43842 wxPyEndAllowThreads(__tstate
);
43843 if (PyErr_Occurred()) SWIG_fail
;
43845 Py_INCREF(Py_None
); resultobj
= Py_None
;
43852 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43853 PyObject
*resultobj
;
43854 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43855 wxWindow
*arg2
= (wxWindow
*) 0 ;
43858 PyObject
* obj0
= 0 ;
43859 PyObject
* obj1
= 0 ;
43860 PyObject
* obj2
= 0 ;
43861 PyObject
* obj3
= 0 ;
43862 char *kwnames
[] = {
43863 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43868 if (SWIG_arg_fail(1)) SWIG_fail
;
43869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43870 if (SWIG_arg_fail(2)) SWIG_fail
;
43872 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43873 if (SWIG_arg_fail(3)) SWIG_fail
;
43876 arg4
= (int)(SWIG_As_int(obj3
));
43877 if (SWIG_arg_fail(4)) SWIG_fail
;
43880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43881 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43883 wxPyEndAllowThreads(__tstate
);
43884 if (PyErr_Occurred()) SWIG_fail
;
43886 Py_INCREF(Py_None
); resultobj
= Py_None
;
43893 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43894 PyObject
*resultobj
;
43895 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43897 PyObject
* obj0
= 0 ;
43898 PyObject
* obj1
= 0 ;
43899 char *kwnames
[] = {
43900 (char *) "self",(char *) "val", NULL
43903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43905 if (SWIG_arg_fail(1)) SWIG_fail
;
43907 arg2
= (int)(SWIG_As_int(obj1
));
43908 if (SWIG_arg_fail(2)) SWIG_fail
;
43911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43912 (arg1
)->Absolute(arg2
);
43914 wxPyEndAllowThreads(__tstate
);
43915 if (PyErr_Occurred()) SWIG_fail
;
43917 Py_INCREF(Py_None
); resultobj
= Py_None
;
43924 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43925 PyObject
*resultobj
;
43926 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43927 PyObject
* obj0
= 0 ;
43928 char *kwnames
[] = {
43929 (char *) "self", NULL
43932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43934 if (SWIG_arg_fail(1)) SWIG_fail
;
43936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43937 (arg1
)->Unconstrained();
43939 wxPyEndAllowThreads(__tstate
);
43940 if (PyErr_Occurred()) SWIG_fail
;
43942 Py_INCREF(Py_None
); resultobj
= Py_None
;
43949 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43950 PyObject
*resultobj
;
43951 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43952 PyObject
* obj0
= 0 ;
43953 char *kwnames
[] = {
43954 (char *) "self", NULL
43957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43959 if (SWIG_arg_fail(1)) SWIG_fail
;
43961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43964 wxPyEndAllowThreads(__tstate
);
43965 if (PyErr_Occurred()) SWIG_fail
;
43967 Py_INCREF(Py_None
); resultobj
= Py_None
;
43974 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43975 PyObject
*resultobj
;
43976 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43978 PyObject
* obj0
= 0 ;
43979 char *kwnames
[] = {
43980 (char *) "self", NULL
43983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43985 if (SWIG_arg_fail(1)) SWIG_fail
;
43987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43988 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43990 wxPyEndAllowThreads(__tstate
);
43991 if (PyErr_Occurred()) SWIG_fail
;
43994 resultobj
= wxPyMake_wxObject(result
, 0);
44002 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44003 PyObject
*resultobj
;
44004 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44006 PyObject
* obj0
= 0 ;
44007 char *kwnames
[] = {
44008 (char *) "self", NULL
44011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44013 if (SWIG_arg_fail(1)) SWIG_fail
;
44015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44016 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44018 wxPyEndAllowThreads(__tstate
);
44019 if (PyErr_Occurred()) SWIG_fail
;
44021 resultobj
= SWIG_From_int((result
));
44028 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44029 PyObject
*resultobj
;
44030 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44032 PyObject
* obj0
= 0 ;
44033 PyObject
* obj1
= 0 ;
44034 char *kwnames
[] = {
44035 (char *) "self",(char *) "which", NULL
44038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44040 if (SWIG_arg_fail(1)) SWIG_fail
;
44042 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44043 if (SWIG_arg_fail(2)) SWIG_fail
;
44046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44047 (arg1
)->SetEdge((wxEdge
)arg2
);
44049 wxPyEndAllowThreads(__tstate
);
44050 if (PyErr_Occurred()) SWIG_fail
;
44052 Py_INCREF(Py_None
); resultobj
= Py_None
;
44059 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44060 PyObject
*resultobj
;
44061 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44063 PyObject
* obj0
= 0 ;
44064 PyObject
* obj1
= 0 ;
44065 char *kwnames
[] = {
44066 (char *) "self",(char *) "v", NULL
44069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44071 if (SWIG_arg_fail(1)) SWIG_fail
;
44073 arg2
= (int)(SWIG_As_int(obj1
));
44074 if (SWIG_arg_fail(2)) SWIG_fail
;
44077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44078 (arg1
)->SetValue(arg2
);
44080 wxPyEndAllowThreads(__tstate
);
44081 if (PyErr_Occurred()) SWIG_fail
;
44083 Py_INCREF(Py_None
); resultobj
= Py_None
;
44090 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44091 PyObject
*resultobj
;
44092 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44094 PyObject
* obj0
= 0 ;
44095 char *kwnames
[] = {
44096 (char *) "self", NULL
44099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44101 if (SWIG_arg_fail(1)) SWIG_fail
;
44103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44104 result
= (int)(arg1
)->GetMargin();
44106 wxPyEndAllowThreads(__tstate
);
44107 if (PyErr_Occurred()) SWIG_fail
;
44110 resultobj
= SWIG_From_int((int)(result
));
44118 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44119 PyObject
*resultobj
;
44120 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44122 PyObject
* obj0
= 0 ;
44123 PyObject
* obj1
= 0 ;
44124 char *kwnames
[] = {
44125 (char *) "self",(char *) "m", NULL
44128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44130 if (SWIG_arg_fail(1)) SWIG_fail
;
44132 arg2
= (int)(SWIG_As_int(obj1
));
44133 if (SWIG_arg_fail(2)) SWIG_fail
;
44136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44137 (arg1
)->SetMargin(arg2
);
44139 wxPyEndAllowThreads(__tstate
);
44140 if (PyErr_Occurred()) SWIG_fail
;
44142 Py_INCREF(Py_None
); resultobj
= Py_None
;
44149 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44150 PyObject
*resultobj
;
44151 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44153 PyObject
* obj0
= 0 ;
44154 char *kwnames
[] = {
44155 (char *) "self", NULL
44158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44160 if (SWIG_arg_fail(1)) SWIG_fail
;
44162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44163 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44165 wxPyEndAllowThreads(__tstate
);
44166 if (PyErr_Occurred()) SWIG_fail
;
44169 resultobj
= SWIG_From_int((int)(result
));
44177 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44178 PyObject
*resultobj
;
44179 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44181 PyObject
* obj0
= 0 ;
44182 char *kwnames
[] = {
44183 (char *) "self", NULL
44186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44188 if (SWIG_arg_fail(1)) SWIG_fail
;
44190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44191 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44193 wxPyEndAllowThreads(__tstate
);
44194 if (PyErr_Occurred()) SWIG_fail
;
44197 resultobj
= SWIG_From_int((int)(result
));
44205 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44206 PyObject
*resultobj
;
44207 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44209 PyObject
* obj0
= 0 ;
44210 char *kwnames
[] = {
44211 (char *) "self", NULL
44214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44216 if (SWIG_arg_fail(1)) SWIG_fail
;
44218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44219 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44221 wxPyEndAllowThreads(__tstate
);
44222 if (PyErr_Occurred()) SWIG_fail
;
44225 resultobj
= SWIG_From_int((int)(result
));
44233 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44234 PyObject
*resultobj
;
44235 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44237 PyObject
* obj0
= 0 ;
44238 char *kwnames
[] = {
44239 (char *) "self", NULL
44242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44244 if (SWIG_arg_fail(1)) SWIG_fail
;
44246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44247 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44249 wxPyEndAllowThreads(__tstate
);
44250 if (PyErr_Occurred()) SWIG_fail
;
44253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44261 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44262 PyObject
*resultobj
;
44263 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44265 PyObject
* obj0
= 0 ;
44266 PyObject
* obj1
= 0 ;
44267 char *kwnames
[] = {
44268 (char *) "self",(char *) "d", NULL
44271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44273 if (SWIG_arg_fail(1)) SWIG_fail
;
44275 arg2
= (bool)(SWIG_As_bool(obj1
));
44276 if (SWIG_arg_fail(2)) SWIG_fail
;
44279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44280 (arg1
)->SetDone(arg2
);
44282 wxPyEndAllowThreads(__tstate
);
44283 if (PyErr_Occurred()) SWIG_fail
;
44285 Py_INCREF(Py_None
); resultobj
= Py_None
;
44292 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44293 PyObject
*resultobj
;
44294 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44295 wxRelationship result
;
44296 PyObject
* obj0
= 0 ;
44297 char *kwnames
[] = {
44298 (char *) "self", NULL
44301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44303 if (SWIG_arg_fail(1)) SWIG_fail
;
44305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44306 result
= (wxRelationship
)(arg1
)->GetRelationship();
44308 wxPyEndAllowThreads(__tstate
);
44309 if (PyErr_Occurred()) SWIG_fail
;
44311 resultobj
= SWIG_From_int((result
));
44318 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44319 PyObject
*resultobj
;
44320 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44321 wxRelationship arg2
;
44322 PyObject
* obj0
= 0 ;
44323 PyObject
* obj1
= 0 ;
44324 char *kwnames
[] = {
44325 (char *) "self",(char *) "r", NULL
44328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44330 if (SWIG_arg_fail(1)) SWIG_fail
;
44332 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44333 if (SWIG_arg_fail(2)) SWIG_fail
;
44336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44337 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44339 wxPyEndAllowThreads(__tstate
);
44340 if (PyErr_Occurred()) SWIG_fail
;
44342 Py_INCREF(Py_None
); resultobj
= Py_None
;
44349 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44350 PyObject
*resultobj
;
44351 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44352 wxWindow
*arg2
= (wxWindow
*) 0 ;
44354 PyObject
* obj0
= 0 ;
44355 PyObject
* obj1
= 0 ;
44356 char *kwnames
[] = {
44357 (char *) "self",(char *) "otherW", NULL
44360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44362 if (SWIG_arg_fail(1)) SWIG_fail
;
44363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44364 if (SWIG_arg_fail(2)) SWIG_fail
;
44366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44367 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44369 wxPyEndAllowThreads(__tstate
);
44370 if (PyErr_Occurred()) SWIG_fail
;
44373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44381 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44382 PyObject
*resultobj
;
44383 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44384 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44385 wxWindow
*arg3
= (wxWindow
*) 0 ;
44387 PyObject
* obj0
= 0 ;
44388 PyObject
* obj1
= 0 ;
44389 PyObject
* obj2
= 0 ;
44390 char *kwnames
[] = {
44391 (char *) "self",(char *) "constraints",(char *) "win", NULL
44394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44396 if (SWIG_arg_fail(1)) SWIG_fail
;
44397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44398 if (SWIG_arg_fail(2)) SWIG_fail
;
44399 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44400 if (SWIG_arg_fail(3)) SWIG_fail
;
44402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44403 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44405 wxPyEndAllowThreads(__tstate
);
44406 if (PyErr_Occurred()) SWIG_fail
;
44409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44417 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44418 PyObject
*resultobj
;
44419 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44421 wxWindow
*arg3
= (wxWindow
*) 0 ;
44422 wxWindow
*arg4
= (wxWindow
*) 0 ;
44424 PyObject
* obj0
= 0 ;
44425 PyObject
* obj1
= 0 ;
44426 PyObject
* obj2
= 0 ;
44427 PyObject
* obj3
= 0 ;
44428 char *kwnames
[] = {
44429 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44434 if (SWIG_arg_fail(1)) SWIG_fail
;
44436 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44437 if (SWIG_arg_fail(2)) SWIG_fail
;
44439 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44440 if (SWIG_arg_fail(3)) SWIG_fail
;
44441 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44442 if (SWIG_arg_fail(4)) SWIG_fail
;
44444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44445 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44447 wxPyEndAllowThreads(__tstate
);
44448 if (PyErr_Occurred()) SWIG_fail
;
44451 resultobj
= SWIG_From_int((int)(result
));
44459 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44462 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44464 return Py_BuildValue((char *)"");
44466 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44467 PyObject
*resultobj
;
44468 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44469 wxIndividualLayoutConstraint
*result
;
44470 PyObject
* obj0
= 0 ;
44471 char *kwnames
[] = {
44472 (char *) "self", NULL
44475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44477 if (SWIG_arg_fail(1)) SWIG_fail
;
44478 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44487 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44488 PyObject
*resultobj
;
44489 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44490 wxIndividualLayoutConstraint
*result
;
44491 PyObject
* obj0
= 0 ;
44492 char *kwnames
[] = {
44493 (char *) "self", NULL
44496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44498 if (SWIG_arg_fail(1)) SWIG_fail
;
44499 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44508 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44509 PyObject
*resultobj
;
44510 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44511 wxIndividualLayoutConstraint
*result
;
44512 PyObject
* obj0
= 0 ;
44513 char *kwnames
[] = {
44514 (char *) "self", NULL
44517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44519 if (SWIG_arg_fail(1)) SWIG_fail
;
44520 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44529 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44530 PyObject
*resultobj
;
44531 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44532 wxIndividualLayoutConstraint
*result
;
44533 PyObject
* obj0
= 0 ;
44534 char *kwnames
[] = {
44535 (char *) "self", NULL
44538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44540 if (SWIG_arg_fail(1)) SWIG_fail
;
44541 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44550 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44551 PyObject
*resultobj
;
44552 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44553 wxIndividualLayoutConstraint
*result
;
44554 PyObject
* obj0
= 0 ;
44555 char *kwnames
[] = {
44556 (char *) "self", NULL
44559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44561 if (SWIG_arg_fail(1)) SWIG_fail
;
44562 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44571 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44572 PyObject
*resultobj
;
44573 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44574 wxIndividualLayoutConstraint
*result
;
44575 PyObject
* obj0
= 0 ;
44576 char *kwnames
[] = {
44577 (char *) "self", NULL
44580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44582 if (SWIG_arg_fail(1)) SWIG_fail
;
44583 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44592 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44593 PyObject
*resultobj
;
44594 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44595 wxIndividualLayoutConstraint
*result
;
44596 PyObject
* obj0
= 0 ;
44597 char *kwnames
[] = {
44598 (char *) "self", NULL
44601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44603 if (SWIG_arg_fail(1)) SWIG_fail
;
44604 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44613 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44614 PyObject
*resultobj
;
44615 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44616 wxIndividualLayoutConstraint
*result
;
44617 PyObject
* obj0
= 0 ;
44618 char *kwnames
[] = {
44619 (char *) "self", NULL
44622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44624 if (SWIG_arg_fail(1)) SWIG_fail
;
44625 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44634 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44635 PyObject
*resultobj
;
44636 wxLayoutConstraints
*result
;
44637 char *kwnames
[] = {
44641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44644 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44646 wxPyEndAllowThreads(__tstate
);
44647 if (PyErr_Occurred()) SWIG_fail
;
44649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44656 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44657 PyObject
*resultobj
;
44658 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44659 wxWindow
*arg2
= (wxWindow
*) 0 ;
44660 int *arg3
= (int *) 0 ;
44664 PyObject
* obj0
= 0 ;
44665 PyObject
* obj1
= 0 ;
44666 char *kwnames
[] = {
44667 (char *) "self",(char *) "win", NULL
44670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44673 if (SWIG_arg_fail(1)) SWIG_fail
;
44674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44675 if (SWIG_arg_fail(2)) SWIG_fail
;
44677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44678 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44680 wxPyEndAllowThreads(__tstate
);
44681 if (PyErr_Occurred()) SWIG_fail
;
44684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44686 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44687 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44694 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44695 PyObject
*resultobj
;
44696 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44698 PyObject
* obj0
= 0 ;
44699 char *kwnames
[] = {
44700 (char *) "self", NULL
44703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44705 if (SWIG_arg_fail(1)) SWIG_fail
;
44707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44708 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44710 wxPyEndAllowThreads(__tstate
);
44711 if (PyErr_Occurred()) SWIG_fail
;
44714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44722 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44725 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44727 return Py_BuildValue((char *)"");
44729 static PyMethodDef SwigMethods
[] = {
44730 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44731 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44732 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44735 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44737 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44756 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44769 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44784 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44837 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44865 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44884 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44886 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44894 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44895 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44907 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44919 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44923 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44929 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44939 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44949 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44953 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45028 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45030 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45032 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45034 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45036 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45038 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45040 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45042 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45044 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45046 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45048 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45050 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45052 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45066 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45084 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45087 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45090 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45102 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45107 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45113 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45119 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45182 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45189 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45225 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45235 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45241 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45243 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45245 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45248 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45252 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45255 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45258 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45260 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45265 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45273 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45277 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45280 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45282 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45286 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45303 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45305 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45308 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45310 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45314 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45318 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45329 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45332 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45335 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45339 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45346 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45351 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45356 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45360 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45405 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45425 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45432 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45436 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45446 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45616 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45670 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45673 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45728 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45755 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45799 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45807 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45826 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45827 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45864 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45894 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45897 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45904 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45914 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45926 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45938 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45948 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45972 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45979 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45980 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45981 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45982 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45983 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45988 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46015 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46027 { NULL
, NULL
, 0, NULL
}
46031 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46033 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46034 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46036 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46037 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46039 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46040 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46042 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46043 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46045 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46046 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46048 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46049 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46051 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46052 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46054 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46055 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46057 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46058 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46060 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46061 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46063 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46066 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46067 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46069 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46070 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46072 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46073 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46075 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46076 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46078 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46079 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46081 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46082 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46084 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46087 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46088 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46090 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46093 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46094 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46096 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46099 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46100 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46102 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46103 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46105 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46106 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46108 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46109 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46111 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46112 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46114 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46115 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46117 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46120 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46121 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46123 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46124 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46126 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46129 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46130 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46132 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46133 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46135 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46136 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46138 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46139 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46141 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46142 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46144 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46145 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46147 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46148 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46150 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46151 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46153 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46154 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46156 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46157 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46159 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46162 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46163 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46165 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46166 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46168 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46169 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46171 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46172 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46174 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46175 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46177 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46178 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46180 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46181 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46183 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46184 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46186 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46189 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46190 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46192 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46195 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46196 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46198 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46199 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46201 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46202 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46204 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46205 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46207 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46208 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46210 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46211 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46213 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46214 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46216 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46217 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46219 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46220 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46222 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46223 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46225 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46226 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46228 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46229 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46231 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46232 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46234 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46235 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46237 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46238 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46240 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46241 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46243 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46244 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46246 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46247 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46249 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46250 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46252 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46253 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46255 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46256 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46258 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46259 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46261 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46262 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46264 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46265 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46267 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46268 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46270 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46271 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46273 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46274 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46276 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46277 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46279 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46280 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46282 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46285 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46286 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46288 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46289 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46291 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46292 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46294 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46295 return (void *)((wxObject
*) ((wxSizer
*) x
));
46297 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46298 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46300 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46303 static void *_p_wxEventTo_p_wxObject(void *x
) {
46304 return (void *)((wxObject
*) ((wxEvent
*) x
));
46306 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46307 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46309 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46310 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46312 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46313 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46315 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46316 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46318 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46319 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46321 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46322 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46324 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46325 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46327 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46328 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46330 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46331 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46333 static void *_p_wxControlTo_p_wxObject(void *x
) {
46334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46336 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46337 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46339 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46340 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46342 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46343 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46345 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46346 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46348 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46349 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46351 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46352 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46354 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46355 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46357 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46360 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46361 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46363 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46364 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46366 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46367 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46369 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46370 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46372 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46373 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46375 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46376 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46378 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46379 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46381 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46382 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46384 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46385 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46387 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46390 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46393 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46394 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46396 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46399 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46402 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46403 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46405 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46406 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46408 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46409 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46411 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46414 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46415 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46417 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46420 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46421 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46423 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46424 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46426 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46427 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46429 static void *_p_wxImageTo_p_wxObject(void *x
) {
46430 return (void *)((wxObject
*) ((wxImage
*) x
));
46432 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46433 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46435 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46438 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46439 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46441 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46442 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46444 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46445 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46447 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46448 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46450 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46453 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46454 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46456 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46459 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46460 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46462 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46463 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46465 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46466 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46468 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46469 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46471 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46472 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46474 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46477 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46478 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46480 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46481 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46483 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46484 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46486 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46489 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46492 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46495 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46496 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46498 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46499 return (void *)((wxWindow
*) ((wxControl
*) x
));
46501 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46502 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46504 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46505 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46507 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46508 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46510 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46511 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46513 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46514 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46516 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46517 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46519 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46520 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46522 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46523 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46525 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46526 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46528 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46529 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46531 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46532 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46534 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46535 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46537 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}};
46538 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}};
46539 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}};
46540 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}};
46541 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}};
46542 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}};
46543 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}};
46544 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}};
46545 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}};
46546 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}};
46547 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}};
46548 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}};
46549 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}};
46550 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}};
46551 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}};
46552 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}};
46553 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}};
46554 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}};
46555 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}};
46556 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}};
46557 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}};
46558 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}};
46559 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}};
46560 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}};
46561 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}};
46562 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}};
46563 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}};
46564 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}};
46565 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}};
46566 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}};
46567 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}};
46568 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}};
46569 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}};
46570 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}};
46571 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}};
46572 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}};
46573 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}};
46574 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}};
46575 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}};
46576 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}};
46577 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}};
46578 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}};
46579 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}};
46580 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}};
46581 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}};
46582 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}};
46583 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}};
46584 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}};
46585 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}};
46586 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}};
46587 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}};
46588 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}};
46589 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}};
46590 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}};
46591 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}};
46592 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}};
46593 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}};
46594 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}};
46595 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}};
46596 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}};
46597 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}};
46598 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}};
46599 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}};
46600 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}};
46601 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}};
46602 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}};
46603 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}};
46604 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}};
46605 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}};
46606 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}};
46607 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}};
46608 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}};
46609 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}};
46610 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}};
46611 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}};
46612 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}};
46613 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}};
46614 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}};
46615 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}};
46616 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}};
46617 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}};
46618 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}};
46619 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}};
46620 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}};
46621 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}};
46622 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}};
46623 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}};
46624 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}};
46625 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}};
46626 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}};
46627 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}};
46628 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}};
46629 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}};
46630 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}};
46631 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}};
46632 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}};
46633 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}};
46634 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}};
46635 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}};
46636 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}};
46637 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}};
46638 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}};
46639 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}};
46640 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}};
46641 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}};
46642 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}};
46643 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}};
46644 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}};
46645 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}};
46646 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}};
46647 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}};
46648 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}};
46649 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}};
46650 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}};
46651 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}};
46652 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}};
46653 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}};
46654 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}};
46655 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}};
46656 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}};
46657 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}};
46658 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}};
46659 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}};
46660 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}};
46661 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}};
46662 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}};
46663 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}};
46665 static swig_type_info
*swig_types_initial
[] = {
46666 _swigt__p_wxLayoutConstraints
,
46667 _swigt__p_wxRealPoint
,
46668 _swigt__p_wxSizerItem
,
46669 _swigt__p_wxGBSizerItem
,
46670 _swigt__p_wxScrollEvent
,
46671 _swigt__p_wxEventLoop
,
46672 _swigt__p_wxIndividualLayoutConstraint
,
46674 _swigt__p_wxBoxSizer
,
46675 _swigt__p_wxStaticBoxSizer
,
46676 _swigt__p_wxGridBagSizer
,
46677 _swigt__p_wxAcceleratorEntry
,
46678 _swigt__p_wxUpdateUIEvent
,
46681 _swigt__p_wxGridSizer
,
46682 _swigt__p_wxFlexGridSizer
,
46683 _swigt__p_wxInitDialogEvent
,
46684 _swigt__p_wxItemContainer
,
46685 _swigt__p_wxNcPaintEvent
,
46686 _swigt__p_wxPaintEvent
,
46687 _swigt__p_wxSysColourChangedEvent
,
46688 _swigt__p_wxMouseCaptureChangedEvent
,
46689 _swigt__p_wxDisplayChangedEvent
,
46690 _swigt__p_wxPaletteChangedEvent
,
46691 _swigt__p_wxControl
,
46693 _swigt__p_wxMenuBarBase
,
46694 _swigt__p_wxSetCursorEvent
,
46695 _swigt__p_wxFSFile
,
46698 _swigt__std__ptrdiff_t
,
46699 _swigt__p_wxRegion
,
46700 _swigt__p_wxPoint2D
,
46704 _swigt__p_wxPySizer
,
46705 _swigt__p_wxVisualAttributes
,
46706 _swigt__p_wxNotifyEvent
,
46707 _swigt__p_wxPyEvent
,
46708 _swigt__p_wxPropagationDisabler
,
46709 _swigt__p_form_ops_t
,
46710 _swigt__p_wxAppTraits
,
46711 _swigt__p_wxArrayString
,
46712 _swigt__p_wxShowEvent
,
46713 _swigt__p_wxToolTip
,
46714 _swigt__p_wxMoveEvent
,
46715 _swigt__p_wxSizeEvent
,
46716 _swigt__p_wxActivateEvent
,
46717 _swigt__p_wxIconizeEvent
,
46718 _swigt__p_wxMaximizeEvent
,
46719 _swigt__p_wxQueryNewPaletteEvent
,
46720 _swigt__p_wxWindowCreateEvent
,
46721 _swigt__p_wxIdleEvent
,
46722 _swigt__p_wxDateEvent
,
46723 _swigt__p_wxMenuItem
,
46724 _swigt__p_wxStaticBox
,
46726 _swigt__p_wxDuplexMode
,
46727 _swigt__p_wxTIFFHandler
,
46728 _swigt__p_wxXPMHandler
,
46729 _swigt__p_wxPNMHandler
,
46730 _swigt__p_wxJPEGHandler
,
46731 _swigt__p_wxPCXHandler
,
46732 _swigt__p_wxGIFHandler
,
46733 _swigt__p_wxPNGHandler
,
46734 _swigt__p_wxANIHandler
,
46735 _swigt__p_wxMemoryFSHandler
,
46736 _swigt__p_wxZipFSHandler
,
46737 _swigt__p_wxInternetFSHandler
,
46738 _swigt__p_wxPyFileSystemHandler
,
46739 _swigt__p_wxEvtHandler
,
46740 _swigt__p_wxCURHandler
,
46741 _swigt__p_wxICOHandler
,
46742 _swigt__p_wxBMPHandler
,
46743 _swigt__p_wxImageHandler
,
46744 _swigt__p_wxFileSystemHandler
,
46746 _swigt__p_wxButton
,
46747 _swigt__p_wxGBSpan
,
46748 _swigt__p_wxPropagateOnce
,
46749 _swigt__p_wxAcceleratorTable
,
46750 _swigt__p_wxStdDialogButtonSizer
,
46752 _swigt__p_wxGBPosition
,
46755 _swigt__p_wxScrollWinEvent
,
46756 _swigt__p_wxPaperSize
,
46757 _swigt__p_wxImageHistogram
,
46759 _swigt__p_wxCursor
,
46760 _swigt__p_wxObject
,
46761 _swigt__p_wxInputStream
,
46762 _swigt__p_wxOutputStream
,
46763 _swigt__p_wxPyInputStream
,
46764 _swigt__p_wxDateTime
,
46765 _swigt__p_wxKeyEvent
,
46766 _swigt__p_wxNavigationKeyEvent
,
46767 _swigt__p_wxWindowDestroyEvent
,
46768 _swigt__p_unsigned_long
,
46769 _swigt__p_wxWindow
,
46770 _swigt__p_wxMenuBar
,
46771 _swigt__p_wxFileSystem
,
46772 _swigt__p_wxBitmap
,
46773 _swigt__unsigned_int
,
46774 _swigt__p_unsigned_int
,
46775 _swigt__p_wxMenuEvent
,
46776 _swigt__p_wxContextMenuEvent
,
46777 _swigt__p_unsigned_char
,
46778 _swigt__p_wxEraseEvent
,
46779 _swigt__p_wxMouseEvent
,
46780 _swigt__p_wxCloseEvent
,
46782 _swigt__p_wxCommandEvent
,
46783 _swigt__p_wxPyCommandEvent
,
46784 _swigt__p_wxPyDropTarget
,
46785 _swigt__p_wxQuantize
,
46786 _swigt__p_wxChildFocusEvent
,
46787 _swigt__p_wxFocusEvent
,
46788 _swigt__p_wxDropFilesEvent
,
46789 _swigt__p_wxControlWithItems
,
46790 _swigt__p_wxColour
,
46791 _swigt__p_wxValidator
,
46792 _swigt__p_wxPyValidator
,
46797 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46799 static swig_const_info swig_const_table
[] = {
46800 {0, 0, 0, 0.0, 0, 0}};
46811 /* Python-specific SWIG API */
46812 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46813 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46814 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46816 /* -----------------------------------------------------------------------------
46817 * global variable support code.
46818 * ----------------------------------------------------------------------------- */
46820 typedef struct swig_globalvar
{
46821 char *name
; /* Name of global variable */
46822 PyObject
*(*get_attr
)(); /* Return the current value */
46823 int (*set_attr
)(PyObject
*); /* Set the value */
46824 struct swig_globalvar
*next
;
46827 typedef struct swig_varlinkobject
{
46829 swig_globalvar
*vars
;
46830 } swig_varlinkobject
;
46833 swig_varlink_repr(swig_varlinkobject
*v
) {
46835 return PyString_FromString("<Swig global variables>");
46839 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46840 swig_globalvar
*var
;
46842 fprintf(fp
,"Swig global variables { ");
46843 for (var
= v
->vars
; var
; var
=var
->next
) {
46844 fprintf(fp
,"%s", var
->name
);
46845 if (var
->next
) fprintf(fp
,", ");
46847 fprintf(fp
," }\n");
46852 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46853 swig_globalvar
*var
= v
->vars
;
46855 if (strcmp(var
->name
,n
) == 0) {
46856 return (*var
->get_attr
)();
46860 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46865 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46866 swig_globalvar
*var
= v
->vars
;
46868 if (strcmp(var
->name
,n
) == 0) {
46869 return (*var
->set_attr
)(p
);
46873 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46877 static PyTypeObject varlinktype
= {
46878 PyObject_HEAD_INIT(0)
46879 0, /* Number of items in variable part (ob_size) */
46880 (char *)"swigvarlink", /* Type name (tp_name) */
46881 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46882 0, /* Itemsize (tp_itemsize) */
46883 0, /* Deallocator (tp_dealloc) */
46884 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46885 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46886 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46887 0, /* tp_compare */
46888 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46889 0, /* tp_as_number */
46890 0, /* tp_as_sequence */
46891 0, /* tp_as_mapping */
46895 0, /* tp_getattro */
46896 0, /* tp_setattro */
46897 0, /* tp_as_buffer */
46900 #if PY_VERSION_HEX >= 0x02000000
46901 0, /* tp_traverse */
46904 #if PY_VERSION_HEX >= 0x02010000
46905 0, /* tp_richcompare */
46906 0, /* tp_weaklistoffset */
46908 #if PY_VERSION_HEX >= 0x02020000
46909 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46911 #if PY_VERSION_HEX >= 0x02030000
46914 #ifdef COUNT_ALLOCS
46915 0,0,0,0 /* tp_alloc -> tp_next */
46919 /* Create a variable linking object for use later */
46921 SWIG_Python_newvarlink(void) {
46922 swig_varlinkobject
*result
= 0;
46923 result
= PyMem_NEW(swig_varlinkobject
,1);
46924 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46925 result
->ob_type
= &varlinktype
;
46927 result
->ob_refcnt
= 0;
46928 Py_XINCREF((PyObject
*) result
);
46929 return ((PyObject
*) result
);
46933 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46934 swig_varlinkobject
*v
;
46935 swig_globalvar
*gv
;
46936 v
= (swig_varlinkobject
*) p
;
46937 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46938 gv
->name
= (char *) malloc(strlen(name
)+1);
46939 strcpy(gv
->name
,name
);
46940 gv
->get_attr
= get_attr
;
46941 gv
->set_attr
= set_attr
;
46942 gv
->next
= v
->vars
;
46946 /* -----------------------------------------------------------------------------
46947 * constants/methods manipulation
46948 * ----------------------------------------------------------------------------- */
46950 /* Install Constants */
46952 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46955 for (i
= 0; constants
[i
].type
; i
++) {
46956 switch(constants
[i
].type
) {
46958 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46960 case SWIG_PY_FLOAT
:
46961 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46963 case SWIG_PY_STRING
:
46964 if (constants
[i
].pvalue
) {
46965 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46967 Py_INCREF(Py_None
);
46971 case SWIG_PY_POINTER
:
46972 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46974 case SWIG_PY_BINARY
:
46975 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46982 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46988 /* -----------------------------------------------------------------------------*/
46989 /* Fix SwigMethods to carry the callback ptrs when needed */
46990 /* -----------------------------------------------------------------------------*/
46993 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46994 swig_const_info
*const_table
,
46995 swig_type_info
**types
,
46996 swig_type_info
**types_initial
) {
46998 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46999 char *c
= methods
[i
].ml_doc
;
47000 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47002 swig_const_info
*ci
= 0;
47003 char *name
= c
+ 10;
47004 for (j
= 0; const_table
[j
].type
; j
++) {
47005 if (strncmp(const_table
[j
].name
, name
,
47006 strlen(const_table
[j
].name
)) == 0) {
47007 ci
= &(const_table
[j
]);
47012 size_t shift
= (ci
->ptype
) - types
;
47013 swig_type_info
*ty
= types_initial
[shift
];
47014 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47015 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47016 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47018 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47019 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47021 strncpy(buff
, "swig_ptr: ", 10);
47023 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47024 methods
[i
].ml_doc
= ndoc
;
47030 /* -----------------------------------------------------------------------------*
47031 * Initialize type list
47032 * -----------------------------------------------------------------------------*/
47034 #if PY_MAJOR_VERSION < 2
47035 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47036 is copied out of Python/modsupport.c in python version 2.3.4 */
47038 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47041 if (!PyModule_Check(m
)) {
47042 PyErr_SetString(PyExc_TypeError
,
47043 "PyModule_AddObject() needs module as first arg");
47047 PyErr_SetString(PyExc_TypeError
,
47048 "PyModule_AddObject() needs non-NULL value");
47052 dict
= PyModule_GetDict(m
);
47053 if (dict
== NULL
) {
47054 /* Internal error -- modules must have a dict! */
47055 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47056 PyModule_GetName(m
));
47059 if (PyDict_SetItemString(dict
, name
, o
))
47066 static swig_type_info
**
47067 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47068 static PyMethodDef swig_empty_runtime_method_table
[] = {
47070 NULL
, NULL
, 0, NULL
47074 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47075 swig_empty_runtime_method_table
);
47076 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47077 if (pointer
&& module) {
47078 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47080 return type_list_handle
;
47083 static swig_type_info
**
47084 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47085 swig_type_info
**type_pointer
;
47087 /* first check if module already created */
47088 type_pointer
= SWIG_Python_GetTypeListHandle();
47089 if (type_pointer
) {
47090 return type_pointer
;
47092 /* create a new module and variable */
47093 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47101 /* -----------------------------------------------------------------------------*
47102 * Partial Init method
47103 * -----------------------------------------------------------------------------*/
47105 #ifdef SWIG_LINK_RUNTIME
47109 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47115 SWIGEXPORT(void) SWIG_init(void) {
47116 static PyObject
*SWIG_globals
= 0;
47117 static int typeinit
= 0;
47120 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47122 /* Fix SwigMethods to carry the callback ptrs when needed */
47123 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47125 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47126 d
= PyModule_GetDict(m
);
47129 #ifdef SWIG_LINK_RUNTIME
47130 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47132 # ifndef SWIG_STATIC_RUNTIME
47133 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47136 for (i
= 0; swig_types_initial
[i
]; i
++) {
47137 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47141 SWIG_InstallConstants(d
,swig_const_table
);
47144 #ifndef wxPyUSE_EXPORT
47145 // Make our API structure a CObject so other modules can import it
47146 // from this module.
47147 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47148 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47153 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47156 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47159 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47162 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47165 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47168 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47171 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47174 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47177 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47180 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47183 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47186 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47189 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47192 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47195 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47198 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47201 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47204 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47207 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47210 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47213 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47216 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47219 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47222 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47225 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47228 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47231 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47234 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47237 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47240 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47243 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47246 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47249 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47252 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47255 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47258 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47261 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47264 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47267 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47270 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47273 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47276 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47279 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47282 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47285 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47288 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47291 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47294 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47297 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47300 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47303 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47306 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47309 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47312 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47315 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47318 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47321 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47324 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47327 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47330 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47333 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47336 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47339 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47342 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47345 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47348 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47351 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47354 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47357 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47360 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47363 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47366 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47369 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47372 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47375 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47378 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47381 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47384 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47387 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47390 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47393 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47396 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47399 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47402 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47405 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47408 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47411 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47414 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47417 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47420 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47423 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47426 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47429 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47432 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47435 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47438 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47441 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47444 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47447 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47450 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47453 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47456 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47459 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47462 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47465 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47468 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47471 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47474 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47477 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47480 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47483 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47486 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47489 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47492 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47495 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47498 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47501 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47504 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47507 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47510 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47513 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47516 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47519 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47522 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47525 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47528 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47531 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47534 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47537 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47540 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47543 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47546 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47549 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47552 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47555 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47558 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47561 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47564 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47567 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47570 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47573 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47576 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47579 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47582 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47585 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47588 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47591 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47594 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47597 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47600 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47603 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47606 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47609 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47612 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47615 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47618 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47621 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47624 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47627 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47630 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47633 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47636 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47639 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47642 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47645 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47648 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47651 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47654 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47657 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47660 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47663 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47666 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47669 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47672 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47675 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47678 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47681 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47684 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47687 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47690 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47693 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47696 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47699 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47702 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47705 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47708 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47711 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47714 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47717 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47720 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47723 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47726 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47729 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47732 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47735 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47738 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47741 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47744 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47747 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47750 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47753 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47756 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47759 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47762 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47765 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47768 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47771 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47774 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47777 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47780 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47783 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47786 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47789 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47792 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47795 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47798 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47801 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47804 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47807 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47810 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47813 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47816 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47819 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47822 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47825 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47828 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47831 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47834 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47837 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47840 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47843 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47846 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47849 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47852 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47855 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47858 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47861 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47864 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47867 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47870 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47873 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47876 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47879 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47882 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47885 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47888 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47891 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47894 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47897 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47900 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47903 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47906 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47909 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47912 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47915 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47918 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47921 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47924 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47927 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47930 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47933 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47936 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47939 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47942 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47945 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47948 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47951 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47954 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47957 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47960 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47963 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47966 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47969 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47972 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47975 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47978 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47981 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47984 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47987 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47990 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47993 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47996 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47999 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48002 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48005 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48008 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48011 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48014 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48017 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48020 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48023 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48026 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48029 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48032 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48035 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48038 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48041 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48044 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48047 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48050 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48053 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48056 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48059 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48062 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48065 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48068 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48071 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48074 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48077 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48080 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48083 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48086 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48089 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48092 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48095 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48098 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48101 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48104 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48107 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48110 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48113 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48116 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48119 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48122 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48125 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48128 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48131 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48134 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48137 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48140 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48143 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48146 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48149 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48152 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48155 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48158 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48161 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48164 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48167 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48170 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48173 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48176 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48179 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48182 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48185 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48188 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48191 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48194 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48197 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48200 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48203 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48206 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48209 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48212 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48215 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48218 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48221 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48224 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48227 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48230 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48233 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48236 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48239 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48242 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48245 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48248 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48251 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48254 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48257 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48260 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48263 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48266 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48269 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48272 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48275 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48278 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48281 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48284 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48287 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48290 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48293 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48296 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48299 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48302 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48305 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48308 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48311 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48314 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48317 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48320 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48323 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48326 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48329 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48332 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48335 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48338 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48341 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48344 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48347 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48350 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48353 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48356 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48359 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48362 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48365 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48368 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48371 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48374 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48377 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48380 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48383 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48386 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48389 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48392 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48395 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48398 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48401 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48404 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48407 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48410 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48413 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48416 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48419 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48422 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48425 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48428 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48431 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48434 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48437 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48440 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48443 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48446 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48449 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48452 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48455 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48458 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48461 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48464 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48467 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48470 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48473 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48476 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48479 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48482 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48485 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48488 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48491 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48494 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48497 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48500 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48503 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48506 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48509 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48512 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48515 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48518 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48521 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48524 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48527 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48530 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48533 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48536 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48539 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48542 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48545 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48548 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48551 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48554 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48557 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48560 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48563 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48566 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48569 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48572 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48575 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48578 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48581 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48584 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48587 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48590 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48593 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48596 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48599 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48602 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48605 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48608 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48611 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48614 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48617 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48620 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48623 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48626 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48629 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48632 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48635 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48638 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48641 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48644 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48647 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48650 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48653 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48656 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48659 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48662 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48665 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48668 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48671 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48674 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48677 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48680 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48683 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48686 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48689 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48692 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48695 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48698 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48701 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48704 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48707 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48710 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48713 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48716 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48719 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48722 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48725 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48728 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48731 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48734 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48737 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48740 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48743 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48746 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48749 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48752 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48755 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48757 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48758 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48760 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48763 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48766 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48769 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48772 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48775 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48778 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48781 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48784 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48787 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48790 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48793 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48796 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48799 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48802 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48805 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48808 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48811 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48814 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48817 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48820 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48823 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48826 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48829 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48832 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48835 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48838 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48841 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48844 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48847 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48850 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48853 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48856 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48859 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48862 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48865 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48868 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48871 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48874 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48877 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48880 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48883 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48886 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48889 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48892 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48895 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48898 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48901 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48904 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48907 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48910 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48912 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48913 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48915 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48918 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48921 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48924 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48927 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48929 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48930 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
48931 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48932 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48933 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48934 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48935 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
48936 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
48937 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48938 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
48940 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48943 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48945 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
48946 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
48947 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
48948 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
48950 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48953 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48956 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48959 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48962 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48965 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48968 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48971 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48974 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48977 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48980 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48983 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48986 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48988 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48989 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48990 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48991 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48992 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48993 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48994 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48995 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48996 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48997 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48999 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49000 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49001 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49002 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49003 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49004 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49006 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49007 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49008 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49009 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49010 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49011 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49012 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49013 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49014 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49015 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49016 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49017 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49018 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49019 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49020 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49021 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49022 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49023 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49024 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49025 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49026 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49027 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49028 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49029 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49030 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49031 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49032 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49033 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49034 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49035 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49036 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49037 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49038 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49039 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49040 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49041 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49042 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49043 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49044 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49045 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49046 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49047 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49048 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49049 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49050 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49051 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49052 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49053 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49054 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49055 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49056 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49057 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49058 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49059 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49060 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49061 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49062 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49063 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49064 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49065 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49066 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49067 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49068 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49069 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49070 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49071 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49072 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49073 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49074 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49075 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49076 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49077 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49078 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49079 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49080 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49081 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49082 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49083 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49084 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49085 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49086 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49087 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49088 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49089 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49090 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49091 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49092 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49093 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49094 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49095 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49096 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49097 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49098 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49099 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49100 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49101 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49103 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49106 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49109 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49112 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49115 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49118 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49121 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49124 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49127 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49130 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49133 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49136 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49139 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49141 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49143 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49146 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49149 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49152 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49155 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49158 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49160 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49161 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49163 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49166 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49169 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49172 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49175 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49177 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49178 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49180 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49183 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49186 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49188 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49190 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49193 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49196 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49199 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49202 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49205 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49208 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49211 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49214 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49217 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49220 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49223 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49226 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49229 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49232 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49235 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49238 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49241 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49244 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49247 // Initialize threading, some globals and such
49251 // Although these are defined in __version__ they need to be here too so
49252 // that an assert can be done to ensure that the wxPython and the wxWindows
49254 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49255 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49256 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));